Are these possible with webforms, or can they be made possible? I checked out E-Commerce and its way overkill for what I need. I have a user who takes orders on friday for lunch from a local sandwich shop (Very important stuff you know :). Currently he tallies everything in a spreadsheet. I created him a webform so people can order online. The form contains the all the things they can order, and any special requests. I would like to be able to have the cost of the items automatically calculate out w/tax & delivery (we have a standard formula for that built in the spreadsheet).

Is there any way to have a numerical field (in my case called item cost), and then a "calculated" field which figures out the cost for each submission?

Obviously E-commerce is great for a large "product" type environment, but it just seems way too much for a simple task such as this. I imagine people could greatly benefit from having such a feature.

Thanks!

Comments

ullgren’s picture

Status: Active » Closed (fixed)

Not as it is today.

mechler’s picture

Version: 4.6.x-1.x-dev » 6.x-2.6

Is this possible to do _now_? It's 3 years later, and all. I'd like to do something similar and haven't found a great solution that is Drupaly.

Critical Tinkerer’s picture

Status: Closed (fixed) » Active
quicksketch’s picture

Status: Active » Closed (fixed)

You can do any calculation, modification of values, or changes to the submission using the Additional submission code. As per the submission guidelines, please do not open ancient requests. http://drupal.org/handbook/modules/webform/submission-code