Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Adding form fields together


Go to End


5 Posts   1405 Views

Avatar
tomato

Community Member, 13 Posts

29 November 2009 at 3:02am

Hi
Is it possible using the forms module to develop a form where fields are mathematically added together (ie a quote form ) .

Thanks
Andrew

Avatar
baba-papa

Community Member, 279 Posts

1 December 2009 at 9:09pm

Hello Andrew,

I do not understand your issue.

Avatar
tomato

Community Member, 13 Posts

1 December 2009 at 11:12pm

HI
thansk for your comment.
The site has a form where customers can enter the quantities required of the product and it calculates a final $ value.
ie 5 widgets at $2 each. so user enters 5 and it puts the total in readonly text box.

Can I use JQuery or my own piece of jscript to do this?
thanks

Avatar
baba-papa

Community Member, 279 Posts

1 December 2009 at 11:17pm

If you want to make a shop use the ecommerce modul.

Avatar
tomato

Community Member, 13 Posts

1 December 2009 at 11:31pm

hi
No not actually selling that sort of product, I just want a form where a customer can make a tentative quote and then it is emailed. I'll investigate JQuery

thanks anyway