I am so not happy about having to build this.
Basically, I need a form that will have multiple service add ons that people can order. As they go through the form, they can click options that have a set price attached to them. When they get to the end of the form, those options are tallied up for a grand total thats displayed for the end user. The form also has to be divided up into several pages.
I know this will not be fun. Can chronoforms actually do this?
Basically, I need a form that will have multiple service add ons that people can order. As they go through the form, they can click options that have a set price attached to them. When they get to the end of the form, those options are tallied up for a grand total thats displayed for the end user. The form also has to be divided up into several pages.
I know this will not be fun. Can chronoforms actually do this?
Hi,
You can do this but the total calculation will need to be coded in PHP if its to be collected from multiple pages or in JS if the amounts to be collected from the same page.
Regards,
Max
You can do this but the total calculation will need to be coded in PHP if its to be collected from multiple pages or in JS if the amounts to be collected from the same page.
Regards,
Max
Yep, definitely sounds like a nightmare😀
The form is setup all in Chronoforms, using the multipage form thingy. I have to admit Im really not sure how to tackle this at all, but its how the boss wants it so thats how its gotta work.
ANy chance you'd have some advice on how to handle this? I know you said PHP, but I don't actually have any idea of what to search for in a case like this...Im more of a photoshop guy.😀
Thanks again!
The form is setup all in Chronoforms, using the multipage form thingy. I have to admit Im really not sure how to tackle this at all, but its how the boss wants it so thats how its gotta work.
ANy chance you'd have some advice on how to handle this? I know you said PHP, but I don't actually have any idea of what to search for in a case like this...Im more of a photoshop guy.😀
Thanks again!
Ok, in brief, suppose your first page has "amt1", 2nd page has "amt2" fields..etc, in the final page you can use this code to calculate total:
Regards,
Max
<?php
$tot = (int)$form->data['amt1'] + (int)$form->data['amt2'];
?>
Regards,
Max
This topic is locked and no more replies can be posted.