Announcement

Collapse
No announcement yet.

V11 Form Problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    V11 Form Problem

    Hi,

    This is a n00b question, I've looked around the forums for a quite while, so if I've missed something it would be very kind of someone to point me in the right direction and not mention my terrible search skills.

    We have recently split our website into two seperate sites. One site has retained the old site settings (which is running on V9) and the other site is a copy of the first with a few new design changes (which is running on V11).

    We have a catalogue request form within a fragment on a brochure page. This works fine on the old V9 site. The code has not changed for the V11 site, but now we only get the persons email address and message.

    I know nothing about form code, but I've noticed that there are square brackets around the two working bits in the code (they're near the bottom) and the rest do not have this. I assume this is because these are names that are local to Actinic and the problem might be resolved by making new ones for the other bits, but I have no idea how or where to find them?



    Code:
    <form method="post" action="[SendMailPageURL]">
    <input type="hidden" name="RANDOM" value="[Random]" />
              
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">
     <!-- Hidden field when in trial mode -->
       <input type="hidden" name="SHOP" value="[HiddenFields]" />
    </actinic:block>
    [ValidationError]
    <input type="hidden" name="Subject" value="Newsletter" /> 
    <table cellpadding="3" cellspacing="0" width="390" border ="0">
       <tr> 
          <td>
             <span class="actrequired">Title: *</span>
          </td>
          <td>
             <input type="text" name="Title" size="40" value="" /> 
             <input type="hidden" name="Subject" size="40" value="Free Catalogue requested" />
          </td>
       </tr>
       <tr> 
          <td>
             <span class="actrequired">First name: *</span>
          </td>
          <td>
             <input type="text" name="Name" size="40" value="" /> 
          </td>
       </tr>
         <tr> 
          <td>
             <span class="actrequired">Surname: *</span>
          </td>
          <td>
             <input type="text" name="Surname" size="40" value="" /> 
          </td>
       </tr>
       <tr> 
          <td>
             <span class="actrequired">Address 1: *</span>
          </td>
          <td>
             <input type="text" name="Address1" size="40" value="" /> 
          </td>
       </tr>
       <tr> 
          <td>
             Address 2:
          </td>
          <td>
             <input type="text" name="Address2" size="40" value="" /> 
          </td>
       </tr>
       <tr> 
          <td>
             <span class="actrequired">Town/City: *</span>
          </td>
          <td>
             <input type="text" name="TownCity" size="40" value="" /> 
          </td>
       </tr><tr> 
          <td>
             County/State:</td>
          <td>
            <input type="text" name="CountyState" size="40" value="" /> 
          </td>
       </tr><tr> 
          <td>
             <span class="actrequired">Postcode: *</span>
          </td>
          <td>
             <input type="text" name="Postcode" size="40" value="" /> 
          </td>
       </tr>
       <tr> 
    
          <td valign="top">
            <span class="actrequired">Country: *</span>
          </td>
          <td>
             <input type="text" name="Country" size="40" value="" />
          </td>
       </tr>
       <tr> 
          <td>
             Mobile Phone Number:
          </td>
          <td>
             <input type="text" name="MobilePhoneNumber" size="40" value="" /> 
          </td>
       </tr>
       <tr> 
          <td>
             <span class="actrequired">[MailFormEmail] *</span>
          </td>
          <td>
             <input type="text" name="EmailAddress" size="40" value="" /> 
          </td>
       </tr>
       <tr>
       <td valign="top">
             <span class="actrequired">[MailFormMessage] *</span>
          </td>
          <td>
             <textarea type="text" rows="10" cols="30" name="Message"></textarea>
          </td>
    </tr>
       <tr> 
    
          <td valign="top">&nbsp;</td>
          <td>
             <input type="submit" name="ACTION" value="[MailFormSendButton]" />
          </td>
       </tr>
       <tr> 
    
          <td colspan="2" valign="top">
             [RequiredFields] <span class="actrequired">[Highlighted]</span>.
          </td>
       </tr>
    </table>
    
    </form>
    Thanks for taking a look.

    #2
    For anyone who is experiencing the same thing, I'm guessing its due to the perl scripts being reset with the new version, stopping all of the code from matching up.

    Check in page 116 of the avanced user guide for how to add new fields to forms (even if the problem is old fields that worked on previous versions) and then make sure all of your field names in actinic match up with those in the perl script.

    Comment

    Working...
    X