Populate values between forms
-
Hello,
I have two forms on one page. I want to use the value of calculated field (fieldname99) in one form (id=25) as a value of a field (fieldname30) in the second form (is=53).
I’ve tried to use your examples from documentation:[CP_CALCULATED_FIELDS id=”25″]
[CP_CALCULATED_FIELDS_RESULT fields=”fieldname99″ formid=”25″]
[CP_CALCULATED_FIELDS_RESULT]
<script><br />
cpcff_default = { 2 : {} };<br />
cpcff_default[2][ ‘fieldname106’ ] = ‘<%fieldname99_value%>’;<br />
</script>
[/CP_CALCULATED_FIELDS_RESULT]
[CP_CALCULATED_FIELDS id=”53″]It doesn’t work.
I’m afraid I can not use the solution with “Thank you page” because my version of the plugin haven’t it.
I’ve also tried to use session variable, but I do not know how to set its value to the calculated value.
Is there any other solution for this case?
Thank you in advance.The page I need help with: [log in to see the link]
- The topic ‘Populate values between forms’ is closed to new replies.