Dynamic Form to Mail
Posted on 2003-03-28
I'm trying to build a dynamic form that allows users to choose spare parts (and quantities of) for a variety of products.
Depending on the product chosen, the form displays the name and a quantity box for each spare part that's available. The quantity box is dynamically named, so that I can pass the data using the #FORM.fieldnames# method.
Unfortunately, the actual spare part numbers & names all contain hyphens or spaces so I'm running into problems with passing the data.
I'm now working on an approach to assign a temporary identifier to pass the data and then convert it back to show the real values to the supplier when they receive their email. Needless to say I'm having difficulty with this.
This is not for a shopping cart. It's function is simply to send an email requesting a quote from the supplier.
Hope you can help. Thanks in advance.