Hi everyone,
I'm a newbie who is using Chronoforms on my Joomla web site.
I'm a bit stumped on how to convert the following HTML code into a new form within chronoform. I know how to put all the HTML within the <input> tags within Chronoform, but am not sure what to do about the other tags, such as form action or the onclick. Any help you could provide would be great. The actual form can be found in here and the source code is listed below.
Thanks!
Wendy
Edited to add url and code tags and add line breaks to code
Post edited by: GreyHead, at: 2008/02/02 22:35<br><br>Post edited by: GreyHead, at: 2008/02/02 22:40
I'm a newbie who is using Chronoforms on my Joomla web site.
I'm a bit stumped on how to convert the following HTML code into a new form within chronoform. I know how to put all the HTML within the <input> tags within Chronoform, but am not sure what to do about the other tags, such as form action or the onclick. Any help you could provide would be great. The actual form can be found in here and the source code is listed below.
Thanks!
Wendy
<body>
<h2 id="bt-invitation-title">Join us Today!</h2>
<form
action="https://www.bigtent.com/hosted/aamhl/invitation?hosted_key=9999999999"
style="display:none;"
method="post"
id="form_hosted_invitationresend" name="form_hosted_invitationresend"
onsubmit="document.getElementById('hosted_invitationresend_submit_button_0').disabled = true;" >
<input
type="hidden"
value="hosted_invitationresend"
id="hosted_invitationresend_hosted_invitationresend"
name="update_key" />
<div style="margin-top: 0.25em;">Email Address</div>
<div>
<input
type="text"
style="width: 160px;"
class="text"
maxlength="100"
value=""
id="hosted_invitationresend_email_address"
name="hosted_invitationresend[email_address]" />
</div>
<div style="margin: 0.25em 0 0.5em 0;">
<input
type="submit"
value="Resend Invitation"
id="hosted_invitationresend_submit_button_0"
name="submit_button"
class="submit"/>
</div>
<a href="#"
onclick="document.getElementById('form_hosted_invitationresend').style.display='none'; document.getElementById('form_hosted_invitationrequest').style.display=''; return false;"
style="font-size:«»smaller"
class="nav-link">Request a new invitation</a>
</form>
<form
action="https://www.bigtent.com/hosted/aamhl/invitation?hosted_key=9999999999"
method="post"
id="form_hosted_invitationrequest"
name="form_hosted_invitationrequest"
onsubmit="document.getElementById('hosted_invitationrequest_submit_button_0').disabled = true;" >
<input
type="hidden"
value="hosted_invitationrequest"
id="hosted_invitationrequest_hosted_invitationrequest"
name="update_key" />
<div style="margin-top: 0.25em;">Name</div>
<div>
<input
type="text"
style="width: 160px;"
class="text"
maxlength="50"
value=""
id="hosted_invitationrequest_full_name"
name="hosted_invitationrequest[full_name]" />
</div>
<div style="margin-top: 0.25em;">Email Address</div>
<div>
<input
type="text"
style="width: 160px;"
class="text"
maxlength="100"
value=""
id="hosted_invitationrequest_email_address"
name="hosted_invitationrequest[email_address]"/>
</div>
<div style="margin: 0.25em 0 0.5em 0;">
<input
type="submit"
value="Submit"
id="hosted_invitationrequest_submit_button_0"
name="submit_button"
class="submit"/>
</div>
<a href="#"
class="nav-link"
onclick="document.getElementById('form_hosted_invitationrequest').style.display='none'; document.getElementById('form_hosted_invitationresend').style.display=''; return false;"
style="font-size:«»smaller">Resend an existing invitation</a>
</form>
</body>
Edited to add url and code tags and add line breaks to code
Post edited by: GreyHead, at: 2008/02/02 22:35<br><br>Post edited by: GreyHead, at: 2008/02/02 22:40