Hi,
I've seen various posts on how to use JavaScript to populate the Custom HTML after database lookups have run, but having only basic JavaScript skills I'm not sure how to get our requirement to work. The situation is that the form is being completed in order to generate a quote request (emailed) to one or more sub-contractors. The user selects various components from dropdown fields in a table, selects the various sub-contractors to whom they want to send the quote request, then completes a comment field specific to the quote request. I want to be able to display the data from the completed fields in a Custom HTML field at the bottom of the form which will then be the body of the email, effectively showing the user a draft of the email content that's going to be sent.
Here's a quick mock-up of the form, the fields needed for the email (Custom HTML display) would be
- a list of the items and quantities (prices are just indicative estimates for the user, not going in the email),
- the content from the Comments field
On submitting the form the email would then be sent to the selected sub-contractors.
If there's a better approach to this please feel free to suggest it.
Thanks,
Mike