Shortcodes Pro
Forms breaking code (5 posts)

  1. Adam Ramshaw
    Posted 4 years ago #


    I'm trying to use this tool to create a standard contact form that works with my CRM.

    It works fine up to this piece of code:
    <textarea id="inf_custom_Comments" class="infusion-field-input" name="inf_custom_Comments" rows="2" /></td>

    The on save it breaks the form code and splits the rest of the content into right hand part of the "Insert Custom Code dialog"

    Any ideas on what might be causing it.


  2. Matt
    Plugin Author

    Posted 4 years ago #

    Hi aramshaw,

    It seems you have an unclosed td over there, could that be the issue?

  3. Adam Ramshaw
    Posted 4 years ago #


    After some more testing I notice that the form code is rendered correctly, i.e. what ever is messing up the admin page is resolved in the live site.

    I don't think it's a missing td -- here is the full code:

    <form accept-charset="UTF-8" action="https://genroe.infusionsoft.com/app/form/process/5765a8d2ad3c574a6c7f8bd374b059d5" class="infusion-form" method="POST">
    	<input name="inf_form_xid" type="hidden" value="5765a8d2ad3c574a6c7f8bd374b059d5" />
    	<input name="inf_form_name" type="hidden" value="Contact Us - In-page use" />
    	<input name="infusionsoft_version" type="hidden" value="" />
    	<table class="Request_form_table">
    			<td style="width: 80px;">First Name*</td>
    			<td style="width: 200px;">
    			<input id="inf_field_FirstName" class="infusion-field-input" name="inf_field_FirstName" type="text" /></td>
    			<td style="width: 80px;">Last Name*</td>
    			<td style="width: 200px;">
    			<input id="inf_field_LastName" class="infusion-field-input" name="inf_field_LastName" type="text" /></td>
    			<td>Job Title</td>
    			<input id="inf_field_JobTitle" class="infusion-field-input" name="inf_field_JobTitle" type="text" /></td>
    			<input id="inf_field_Company" class="infusion-field-input" name="inf_field_Company" type="text" /></td>
    			<input id="inf_field_Email" class="infusion-field-input" name="inf_field_Email" type="text" /></td>
    			<input id="inf_field_Email" class="infusion-field-input" name="inf_field_Phone1" type="text" /></td>
    			<textarea id="inf_custom_Comments" class="infusion-field-input" name="inf_custom_Comments" rows="2">Please contact me about...</textarea></td>
    			<input class="FormSubmitButtom" name="submit" type="submit" value="Send Request" />
    			See our
    			<a href="http://www.genroe.com/static/privacy" title="Privacy Policy">
    			Privacy Policy</a></td>

    It breaks in the admin section at:

    I think it's probably because I'm nesting my </textarea> inside yours:

    <textarea name="insert-html" id="insert-html" cols="" rows="8" style="width:97%">

    Fix ideas?


  4. Adam Ramshaw
    Posted 4 years ago #


    Actually some more testing later -- the form is not working in the live site. And I think this issue is very likely to be the </textarea> tag.


  5. seanster
    Posted 3 years ago #

    Yes, the admin area where we post HTML is in a </textarea> so he will need to tag it with an <div id=xx></textarea> before his real one to catch the right one.??

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Shortcodes Pro
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.