Tagged: Code block
-
AuthorPosts
-
April 21, 2015 at 4:56 am #431727
I’ve created forms that work fine when posted into the Code Block content elements, but when I go to edit that Code Block the pop is blank — instead there seems to be a text block below it in the editor with the form, but when I click to edit that text block, that is also blank?
Any idea what’s wrong? Thanks
April 21, 2015 at 8:38 pm #432358Hey circleatseven!
Have you tried adding your code into Text Block element on Text tab?
Cheers!
YigitApril 21, 2015 at 9:58 pm #432410Yes. If I paste the form code into a regular text block in the text tab and hit save it doesn’t ever close out that popup window like it would with regular text. But its working fine with regular text…?
Here’s a stripped down portion of my code if that helps :
<form id="form" action="http://url.com...." method="post" class="useFormBg"> <input type="hidden" value="POST" name="PostForm"> <fieldset> <legend>For more information, please fill out the form below:</legend> <ul id="crmform"> <li> <label for="First Name">First Name<font color="red">*</font></label> <input class="validate[required]" type="text" name="firstName" id="firstName" value="" size="30" /> </li> <li> <label for="Last Name">Last Name<font color="red">*</font></label> <input class="validate[required]" type="text" name="lastName" id="lastName" value="" size="30" /> </li> <li> <label for="Date of Birth">Date of Birth<font color="red">*</font></label> <input class="validate[required,custom[date]]" type="text" name="Dob" id="child1Dob" value="" size="30" /> <script> $(function() { $( "#child1Dob" ).datepicker(); }); </script> </li> </ul> </fieldset> <button type="submit" class="submit" >Send</button> </form>
Thanks for your help!
April 23, 2015 at 2:27 pm #433480Hey!
Do you mind creating a temporary admin login and posting it here privately? It does work fine on my end and i am able to edit code block element after – http://imgur.com/a/GmP8K
Cheers!
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.