Setting multiple tags in one spot
-
I was wondering if this was possible.
Here is my thought. I create a tag, let’s say:
<label> [select* subject "Becoming an athletic competitor" "Sponsoring the Highland Games" "Wanting to be a Vendor" "Clan Information" "Something not listed here"] </label>
So now I have a drop down list that populates [subject]. I can use pipes to let the user see one thing, and the form does another, like this:
<label> [select* subject "Becoming an athletic competitor|email-1" "Sponsoring the Highland Games|email-2" "Wanting to be a Vendor|email-3" "Clan Information|email-4" "Something not listed here|email-5"] </label>
So now, the user sees “Becoming an athletic competitor” on the screen, but the tag gets filled with “email-1”.
Here is my question. Can I set 2 tags to be filled via this method? Here is what I would like. The user sees the drop down list. When the user selects a choice, tag [subject] gets filled with one bit of information and tag [email] gets filled with other information.
I have no idea the syntax, so I am going to use % as a delinenator.
<label> [select* subject%email "Becoming an athletic competitor|Athlete%email-1" "Sponsoring the Highland Games|Sponsor%email-2" "Wanting to be a Vendor|Vendor%email-3" "Clan Information|Clan%email-4" "Something not listed here|Not listed%email-5"] </label>
So here, the one input field modifies 2 tags, [subject] and [email]. The user sees the information before the pipe, and the 2 tags get filled with the data after the pipe, and the information before the % goes into the first tag and the information after the % goes into the second tag.
- The topic ‘Setting multiple tags in one spot’ is closed to new replies.