Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Validation at least on of two option lists
Tob
Within TeamSite Templating 5.5, how can I create validation that requires a user to select an option from one (and only one) of two option lists.
EXAMPLE.....
User May select on option from this list........
<item name="Location">
<description>Check all that apply.</description>
<database data-type="VARCHAR(20)" />
<checkbox>
<option value="dm" label="New York" />
<option value="sc" label="California" />
<option value="sd" label="San Francisco" />
<option value="cr" label="Atlanta" />
</checkbox>
</item>
OR one option from this list..........
<item name="Location2">
<description>Check all that apply.</description>
<database data-type="VARCHAR(20)" />
<checkbox>
<option value="dm" label="Des Moines" />
<option value="sc" label="Boston" />
<option value="sd" label="Indianopolis" />
<option value="cr" label="Detroit" />
</checkbox>
</item>
User may not select one option from each list.
Alternatively, Can I hide the option list from the user? Unhide location, Unhide Location2
Find more posts tagged with
Comments
james1
I think that FormAPI can do any of this. Please browse through DevNet, the tech support web site, and/or your TST manuals for more info on FormAPI. You might want to watch the recording of the DevNet FormAPI Webcast.
-- James
--
James H Koh
Interwoven Engineering
Johnny
you can do this with a replicant using the combination="or" attribute.
If you have a replicant with a max of one, the user will be able to select either location OR location 2. They will only see what they have selected. However they wont be able to see the options until they select the component.
John
Sydney, Australia