Advertisement
chrishajer

Gravity Form for Post 73674

Sep 4th, 2012
415
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.90 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <forms version="1.7.dev1">
  3.     <form labelPlacement="top_label" useCurrentUserAsAuthor="1" postAuthor="1" postCategory="5" postStatus="publish" postFormat="0">
  4.         <title><![CDATA[Submit your story with line breaks]]></title>
  5.         <description><![CDATA[Please submit your story.  We'll put in on the website immediately.]]></description>
  6.         <confirmation type="message">
  7.             <message><![CDATA[Thank you for your story submission.<br />You can view the most recent story submissions <a href="http://gravity.chrishajer.com/category/stories/" title="Story Submissions">in the Stories category</a>.]]></message>
  8.         </confirmation>
  9.         <button type="text">
  10.             <text><![CDATA[Submit]]></text>
  11.         </button>
  12.         <fields>
  13.             <field id="3" isRequired="1" size="medium" type="post_title">
  14.                 <label><![CDATA[Title of your story]]></label>
  15.             </field>
  16.             <field id="4" isRequired="1" size="medium" type="post_content">
  17.                 <label><![CDATA[Your story]]></label>
  18.             </field>
  19.             <field id="1" isRequired="1" size="medium" type="name">
  20.                 <description><![CDATA[Please submit your name for a byline to go along with the story]]></description>
  21.                 <label><![CDATA[Identify yourself]]></label>
  22.                 <inputs>
  23.                     <input id="1.3">
  24.                         <label><![CDATA[First]]></label>
  25.                     </input>
  26.                     <input id="1.6">
  27.                         <label><![CDATA[Last]]></label>
  28.                     </input>
  29.                 </inputs>
  30.             </field>
  31.             <field id="2" isRequired="1" size="medium" type="email">
  32.                 <description><![CDATA[How can we get in touch with you if we have questions?<br />Your email address will not be displayed.]]></description>
  33.                 <label><![CDATA[Email]]></label>
  34.             </field>
  35.             <field adminOnly="1" id="5" size="medium" type="post_custom_field" postCustomFieldName="gfentryid" inputType="text">
  36.                 <defaultValue><![CDATA[{entry_id}]]></defaultValue>
  37.                 <label><![CDATA[Entry ID]]></label>
  38.             </field>
  39.         </fields>
  40.         <postContentTemplateEnabled><![CDATA[1]]></postContentTemplateEnabled>
  41.         <postContentTemplate><![CDATA[{Your story:4}
  42.  
  43. <em>This was entry #{Entry ID:5}</em>]]></postContentTemplate>
  44.         <notification>
  45.             <to><![CDATA[chrishajer@gmail.com]]></to>
  46.             <subject><![CDATA[Story submission: {Title of your story:3}]]></subject>
  47.             <message><![CDATA[{all_fields}]]></message>
  48.             <fromField><![CDATA[2]]></fromField>
  49.             <fromNameField><![CDATA[1]]></fromNameField>
  50.         </notification>
  51.         <autoResponder>
  52.             <toField><![CDATA[2]]></toField>
  53.             <fromName><![CDATA[Chris Hajer]]></fromName>
  54.             <from><![CDATA[chris@rocketgenius.com]]></from>
  55.             <subject><![CDATA[Story Submitted: {Title of your story:3}]]></subject>
  56.             <message><![CDATA[<p>Thank you for your story.  Here is some information about my website:<br />
  57. <strong>Name:</strong> [bloginfo name]<br />
  58. </p>
  59. ]]></message>
  60.             <disableAutoformat><![CDATA[1]]></disableAutoformat>
  61.         </autoResponder>
  62.         <descriptionPlacement><![CDATA[below]]></descriptionPlacement>
  63.     </form>
  64. </forms>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement