Add simple addition between form...
See this Apple link:
https://www.apple.com/shop/buy-mac/macb … ep=config#
I need each radio block to have a number field showing the dollar amount for whichever radio button is selected. At the end of the form, above the Submit button, I need to show the total dollar amount of all items selected. This also needs to be included in the response email to me and client. I'm hoping WFB can handle this task.
I built a form using Formoid but I like Coffee Cup so I'm changing over.
On my website I added "OnClick" on each selected radio button with a corresponding price to show up via a simple function. I already set up the math to show up on my test website but it's freestanding within the site. I don't know how to add it to to the PHP to be included in the response email.
Getting the math to work and print to screen on web page isn't too hard. I've got that done. I was hoping that since there's a "Price Input" field that I could get this handled and have this info emailed within the form. See attached screenshot.
Thanks in advance.
If your already getting the values of the inputs use JQuery to place that value into a hidden input or a total Input and $_POST it with the rest of your values.
On the PHP processing page you would have
$total = $_POST['total'];
Than you can use the $total in your email script.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
This is a site I built for use in my job.(HTML Editor)
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.