Hi,
I am creating a DCT in which i have two radio button one for external link and one for internal link.When i select internal link then a browser typewill appears to browse internal link.When i select external link then a text box will appears to enter external link.
My problem is that whatever link i select the tag in generated xml should like:
<.url>
www.google.com<./url> or
<.url>/select.gif<./url>
So how can i toggle item type on select of radio button?
I used two <.choice name=""> for that one for internal and other for external with same item named "url".
But then in generated xml it is creating 2 tages like:
<.url>
www.google.com<./url><./url>
But i need only one <.url/> tag in dcr(xml).
Find attached datacapture.cfg and datacapture.js.