Changes

Custom Combined Sign-Up Page

1,079 bytes added, 16:22, 16 May 2013
no edit summary
* The JavaScript validations for the "Contact Signup" and "Company Signup" should both be executed when submit is clicked.
4. With a new '''SaveRestrict Duplicate Emails''' functionality (May 2013 upgrade [[Upgrades]]) when enabled on system sign up page by selecting '''Do not update profile for existing user''' you can look at the compiled source code and take out the script that use to check the duplicate and paste it into your smart folder hybrid page.The part of the code that you will need is the following within the sb(frm) function:
5 var paramrs=new in_ssRecordSet();paramrs. Create a web enabled [[Smart Folder]] and store the modified page in the folderaddfieldnames("pageid,matchvalue"); var idx=paramrs.getnewrecnumber(); paramrs.addfieldvaluebyname(idx,"pageid",90); paramrs.addfieldvaluebyname(idx,"matchvalue",frm.cname.value); if (!SS_UTADuplicateCheck(false,'',0,30,'0','0',paramrs)) { return false; }
6Also, make sure you include the javascript file "/Ajax/uta/in_uta. Select js" on the page as wellNote: the [[URL]] duplicate check script above will be different based on different settings on the signup page, so you cannot just copy and paste the code above for this file through all signup page. You have to look into the '''File Options'''source of each individual signup page you are referencing.
5. '''Save''' the page. 6. Create a web enabled [[Smart Folder]] and store the modified page in the folder. 7. Select the [[URL]] for this file through the '''File Options'''. 8. Use this [[URL]] as the link in the website.
==See Also==
Smartstaff
173
edits