CalcBuilder Forum

Add Submit Button

User billwide 2011-10-31 18:19:48

How can I add a submit button to use the selected options to have action "submit" in the form? The Submit button must be side by side with the "Calculate" button.

Thanks for any help.

Moonsoft support 2011-10-31 19:48:08

you can add a button next to calculate one, but not sure what are you trying to get with Submit action. If fact, calculate button is a Submit button (although it's made through a hidden request). The action where the form is calling is your calculator code, so you can handle the fields as you where coding the action file using the php variables that are already 'collected'.
Remember you can insert any valid php inside the calculator code.

Hope this helps,

Moonsoft Team

Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!

Perfect for small code changes or to correct any bug at your site

Buy now!