0

I would like to use freeform to make an enquiry form that lists several products each with a quantity input field. On submit these would combined in to a single textarea field, each on a separate line.

Is this something that is possible within freeform?

1 Answer 1

2

Here are a couple options:

If it really needs to be stored as one field, then you can use jQuery to concatenate and format all the separate inputs. Then set that as the value on single hidden input field named after the Freeform field you want to use to store the data. You would do this on form submit. Easy to do with a little jQuery knowledge (but out of the scope of this site).

If it doesn't matter that it's stored as a single field (ie, the only time the data needs to be viewed as a single block of text is in an email notification or template) then you could just pull all the separate variables together using Freeform tags.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.