Support » Plugin: Shortcodes Pro » [Plugin: Shortcodes Pro] Forms breaking code

  • Hi,

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Matt


    Hi aramshaw,

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


    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="" 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="" 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?



    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.


    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.??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Shortcodes Pro] Forms breaking code’ is closed to new replies.