Multipage Unique ID saved to DB

hhawkins25 29 Dec, 2010
I have my multipage form all set and saving to the database plus kicking off emails-
https://www.communitychoicecu.com/index.php?option=com_chronocontact&chronoformname=Scholarship_App

However the final step 4 has a unique ID defined with code found here -
 <?php
$ident = generateIdent();
echo "<div><h2>Your Scholarship Application ID is $ident, please make note of it for future reference.</h2></div>";
?>
<input type='hidden' name='ident' id='ident'
value='<?php echo $ident; ?>' />

https://www.communitychoicecu.com/index.php?option=com_chronocontact&chronoformname=Scholarship_App4
It will not email or save the "ident" tothe database, and I had it working before breaking this down to multipage.

Any suggestions?

Thanks
GreyHead 31 Dec, 2010
Hi hhawkins25 ,

The code looks OK to me.

If you check the Page Source is the value being generated correctly?

You may need to refresh the DB Connection. In the Form Editor click the DB Connection tab and set the Connection to 'No'. Click the 'Apply icon in the toolbar to save the form, open the DB Connection tab, set the Connection back to 'Yes' and re-save the form. This will refresh the copy of the table information that ChronoForms uses.

Bob
hhawkins25 03 Jan, 2011
I tried that - still the same thing -
It generates a code on the page, but just is not saving it or emailing it.
GreyHead 04 Jan, 2011
Hi hhawkins25,

By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.

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