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.

General Questions

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

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

Adding form fields together


Reply

5 Posts   842 Views

Avatar
tomato

29 November 2009 at 3:02am Community Member, 13 Posts

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

1 December 2009 at 9:09pm Community Member, 279 Posts

Hello Andrew,

I do not understand your issue.

Avatar
tomato

1 December 2009 at 11:12pm Community Member, 13 Posts

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

1 December 2009 at 11:17pm Community Member, 279 Posts

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

Avatar
tomato

1 December 2009 at 11:31pm Community Member, 13 Posts

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