chrishajer

Use user entered code in confirmation

Sep 24th, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.50 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">
  4.         <title><![CDATA[Let me use your code]]></title>
  5.         <description><![CDATA[Reference <a href="http://www.gravityhelp.com/forums/topic/display-entry-value-on-page">this post</a>.]]></description>
  6.         <confirmation type="message">
  7.             <message><![CDATA[<textarea style="width: 400px; height: 250px;">
  8. <iframe src="http://player.vimeo.com/video/{Enter your code here:1}" width="500" height="219" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> <p><a href="http://vimeo.com/{Enter your code here:1}">Half Moon Run - Call Me in the Afternoon (Official)</a> from <a href="http://vimeo.com/kamerzysta">Czlowiek Kamera</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
  9. </textarea>
  10.  
  11.  
  12. <p style="clear:both;">Here is the embed code for the number you entered: {Enter your code here:1}</p>
  13. ]]></message>
  14.             <disableAutoformat><![CDATA[1]]></disableAutoformat>
  15.         </confirmation>
  16.         <button type="text">
  17.             <text><![CDATA[Submit]]></text>
  18.         </button>
  19.         <fields>
  20.             <field id="1" isRequired="1" size="medium" type="text">
  21.                 <label><![CDATA[Enter your code here]]></label>
  22.             </field>
  23.         </fields>
  24.         <descriptionPlacement><![CDATA[below]]></descriptionPlacement>
  25.         <notification>
  26.             <to><![CDATA[{admin_email}]]></to>
  27.             <subject><![CDATA[New submission from {form_title}]]></subject>
  28.             <message><![CDATA[{all_fields}]]></message>
  29.         </notification>
  30.     </form>
  31. </forms>
Advertisement
Add Comment
Please, Sign In to add comment