Noob Needs Help with Forms

beldorian 07 Apr, 2009
Sometimes, I just don't understand why things have to be so difficult... I think this add-on has some amazing potential, and I would like to learn the rest of it soon, but for now, I'm having a heckuva time posting this custom form and making it work. I really appreciate your help and patience🙂 The form code I'm trying to add to the site is below and in a perfect world, I would be able to add it in my template to the User2 module - I need to get this added, so I can get the site live - this is being used to collect name and email for the purpose of adding their name to an email campaign:

<form method="POST" action="http://www.xxxxx.com/subscribe.asp">
<input type="hidden" name="ListID" value="####">
<input type="hidden" name="Source" value="Web Form">
<input type="hidden" name="Redirect" value="http://www.anysite.com/">

<table border="0" width="300" cellspacing="1">
<tr>
<td align="center" colspan="3"><strong style="font-size: 16px; color: #f90518; font-variant: small-caps; text-decoration: underline">“BlahBlahBlahBlah?”</strong><br /><br />BlahBlahBlahBlah <strong>zz%</strong> BlahBlahBlahBlah <strong>xx%</strong>, BlahBlahBlahBlah <strong>yy%</strong> BlahBlahBlahBlah? <em>BlahBlahBlahBlah?</em><br /><br /><strong style="font-size: 14px">BlahBlahBlahBlah</strong></td>
</tr>
<tr>
<td>Enter Your Name:</td>
<td><input type="text" name="Name" size="15"></td>
<td></td>
</tr>
<tr>
<td>And Your Email:</td>
<td><input type="text" name="Email" size="15"></td>
<td><input type="submit" value="Submit" name="Submit"></td>
</tr>
</table>

</form>
</center>
GreyHead 07 Apr, 2009
Hi beldorian,

Please check the tutorials in the Download area here.

To get this code to worK:[list]
  • Copy the form HTML **without the <form. . .> & </form> tags** and paste it into the Form HTML box on the Form code tab of a new form.
  • Then paste http://www.xxxxx.com/subscribe.asp into the OnSubmit URL on the Form URLs tab.
  • Give the form a name on the Genreal Tab.
  • Save the form.
  • Click the link on the Forms Manager to open a copy and check that it works.
  • [/list]
    Bob
    beldorian 07 Apr, 2009
    Sweeeeeeet! Thanks so much!🙂 That is so great - such a quick reply... I really appreciate it, you saved me a lot of time!!!

    So, one last thing, is there any way to set up the inside of a module so that I can post it into the user2 template area?
    GreyHead 07 Apr, 2009
    Hi beldorian,

    Download, install and publish the ChronoForms Module from the Downloads area here.

    Note: there are some small problems with server-side validation and anti-spam using the module as it's so far not possible to return the result to the same page.

    Bob
    This topic is locked and no more replies can be posted.