Changes

Custom Combined Sign-Up Page

25 bytes added, 20:46, 16 March 2012
no edit summary
3. View the HTML source of both '''signup''' pages and join them together as desired.
* Ensure there is only one form tag (see below), with action: '''/s_cpsignup.jsp'''
* Both the '''ctoken''' from the company sigup and '''ptoken''' from the contact signup pages must be present.* Example:
<form action='/s_cpsignup.jsp' method='POST' onsubmit='return sb(this);'>
< &lt;!-- this must be company signup page token -->&gt;
<input type=hidden name=ctoken value="XVtQHUUGYFpfRBdfXxJSRlNZYg%3D%3D">
  <&lt;!-- this must be contact signup page token -->&gt;
<input type=hidden name=ptoken value="XVtQC1oGYFpfRBdfXxJSRlNZYg%3D%3D">
* Ensure there is only one Submit button.
* If your Company and Contact signup pages both have a phone field. Rename the input for the contact phone to “uphone” example:
<input type=text class='Large' name='uphone' id='uphone'> Leave the company phone as is. 
* The JavaScript validations for the "Contact Signup" and "Company Signup" should both be executed when submit is clicked.
Smartstaff, administrator
3,576
edits