multiple fields into one text field

General ShopSite user discussion

multiple fields into one text field

Postby Pam Laing » Wed Jul 19, 2006 11:05 am

I need to be able to do the following as suggested by Jim:

"jim" <jstavast@xmission.com> wrote in message
news:e1n99h$72e$1@eval.shopsite.com...
There is only one text field to contain input from the user. It is
possible using a custom template and javascript to create multiple input
fields that will all be placed into the one text field. When input fields
are given the same name the data is concatenated into a single comma
separated list when the form is submitted. This basically what you would
want to do for input and then you would need to parse the data back out
when you process the order.

Jim

But don't know where to start. I have customized templates (both page and
product) so have some familiarity there. The website is
www.smallfrypress.net . An example would be the address labels. I'd like
separate text fields for customers to put name, address, city-state-zip. So
can you please help me get going?

Where can I find the javascript that would do this? (not a javascript
writer)
What is the name of the one text field that ShopSite uses?
Can I do it all through the template or do I need the form tags in the "more
info" of the more page?

Thanks for any help you can provide.

Pam
Pam Laing
 

Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 108 guests