Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Dynamically setting cgi-callout
System
Hi,
Maybe one of you guru's can help me.
My datacapture cfg consists of a radio button.
<item name="search">
<label>Search By</label>
<radio required="t">
<option value="DisplayProduct" label="Product" selected="t" />
<option value="DisplayAsset" label="Asset"/>
</radio>
</item>
Now depending on what they select ....I want to dynamically set the cgi-callout url in (the datacapture.cfg) of my Search button---see below.
How do I do that?
For example ...
if they select 'Asset' (see radio button above) I want the
url to be
"/iw-bin/InternetMarketing/resourcecenter/itpd_findasset.cgi"
else
(if they choose 'Product')
I want the url to be
"/iw-bin/InternetMarketing/resourcecenter/itpd_findproduct.cgi"
<item name="ModelName">
<label>Model Name</label>
<description>Select the product to feature on the category page.</description>
<text size="40" required="t">
<cgi-callout url="/iw-bin/InternetMarketing/resourcecenter/itpd_findproduct.cgi"
label="Search" window-features="width=750, height=500,resizable=yes,toolbar=no,scrollbars=yes"/>
</text>
</item>
And another weird thing is .....for some reason the product does not end up being selected even though I have selected="t"?????
Thanks in advance,
Annie
Find more posts tagged with
Comments
There are no comments yet