Someone was recently asking for a way of creating more than one Other Info Prompt.
Here's a patch that implements multiple such prompts with a trivial way of specifying them.
All you need to do is something like Prompt1|Prompt2|Prompt3, etc. into the Other Info Prompt field and the necessary code is automatically generated.
You can have fields that are optional so the customer can leave them empty without error.
You can control whether the prompt and input field appear on the same or successive lines.
Finally you can control the width of the input field by starting your prompt with a number.
Error checking is done so users will get highlighted errors on mandatory fields they leave empty.
Restrictions so far are that it only works on pages with "Quantity on Product Page", and users will need JavaScript 1.2 in their browser (I've tested it OK with IE5,6 and NN4,6).
Quite a lot of patching is required and you'll find the full details on
http://www.rouxel.cwc.net/MultipleOt...oPrompts-2.txt
Norman.
Here's a patch that implements multiple such prompts with a trivial way of specifying them.
All you need to do is something like Prompt1|Prompt2|Prompt3, etc. into the Other Info Prompt field and the necessary code is automatically generated.
You can have fields that are optional so the customer can leave them empty without error.
You can control whether the prompt and input field appear on the same or successive lines.
Finally you can control the width of the input field by starting your prompt with a number.
Error checking is done so users will get highlighted errors on mandatory fields they leave empty.
Restrictions so far are that it only works on pages with "Quantity on Product Page", and users will need JavaScript 1.2 in their browser (I've tested it OK with IE5,6 and NN4,6).
Quite a lot of patching is required and you'll find the full details on
http://www.rouxel.cwc.net/MultipleOt...oPrompts-2.txt
Norman.
Comment