discounts using form builder (only...

User 629250 Photo


Registered User
50 posts

Is it possible to add a negative number to the value of a radio button.
We would like a way to offer a $10 discount for special situations.
What would be the best way to achieve this?

The Radio Button value field only allows "positive price for this value"

Thanks,

Randy
www.fremontdogtrainingclub.com
User 2088758 Photo


Senior Advisor
3,087 posts

Hey Randall,

There is no way to do this using wfb itself. Hang tight someone in here may know a hack to do this. My best guess is maybe Eric will chime in and give some advise.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 187934 Photo


Senior Advisor
20,190 posts

Are you using the paypal payment option on the form?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 629250 Photo


Registered User
50 posts

Yes, I'm processing the payment through PayPay using the CC embedded set-up.
User 187934 Photo


Senior Advisor
20,190 posts

I'll need to look at the paypal setup and see what can be done. It might be a while as I'm doing pc upgrades and am not on my regular machine.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 506998 Photo


Registered User
164 posts

I'm interested in this as well. Any ideas come up on how to create a "discount" price input checkbox value in Form Builder?
Or can you enter a negative price value manually in a field and have that deduct from the grand total of the form?
User 506998 Photo


Registered User
164 posts

I noticed in Eric's "Running Total" example using jscript, that a negative value will work. Athough the data box is setup to require positive numbers to submit, negative values are reflected in the total before submitting. I would imagine then that there is a way for a user to input a negative value and have it reflect in the total.....
User 187934 Photo


Senior Advisor
20,190 posts

Yes that particular script does allow negative numbers. I think one way to accomplish this would be to use a regular expression for your discount input and keep it hidden. Then use a url variable to populate it from a link on your site.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 506998 Photo


Registered User
164 posts

I can't imagine that there's not someplace in the code -and I've been digging all through the various generated scripts- where I can make a price input value be subtracted rather than added. I'm trying to find the code where it literally adds the values so that I can put in a minus sign, a negative number or multiplier. I'm OK with either entering an amount to be discounted or using check boxes to select a predetermined amount. I realize that this code editing would have to be done each time I export the form. Anybody figured out a simple discount system yet....?
User 187934 Photo


Senior Advisor
20,190 posts

You could still do the regular expression and let user enter the value. This way they can't get a discount that the regular expression doesn't allow.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

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.