Hi I am trying to validate my form which has a container and my datacapture.cfg looks like below
I need to validate the url item, If any has worked on similar scenario can you please help me with sample code.
<?xml version="1.0" standalone="no"?>
<!DOCTYPE datacapture SYSTEM "datacapture6.0.dtd">
<data-capture-requirements type="reusable" name="promo_sandbox">
<!-- data-capture-requirements elements contain area elements -->
<ruleset name="Reusable Content">
<description>
Promo sandbox.
</description>
<!-- Inline call out to get meta data-->
<inline command="c:\interwoven\teamsite\iw-perl\bin\iwperl c:\interwoven\teamsite\httpd\iw-bin\custom\metadata_shared_title_desc.ipl" />
<inline command="c:\interwoven\teamsite\iw-perl\bin\iwperl c:\interwoven\teamsite\httpd\iw-bin\custom\metadata_shared_com.ipl" />
<!-- file elements contain item elements -->
<root-container name="promo" location="promo">
<container location="promo_sandbox" max="200" min="1" name="promo_sandbox">
<item name="image">
<label>Image field</label>
<description>Select the location where image is stored.</description>
<database deploy-column="f" />
<browser initial-dir="/" required="t" />
</item>
<item name="promoLinkName">
<label>Promo link name</label>
<description>Specify the image name.</description>
<database data-type="VARCHAR(100)" />
<text required="t" size="50" maxlength="100" />
</item>
<item name="url">
<label>Link URL</label>
<description>Enter the URL for the promo sandbox image.</description>
<database data-type="VARCHAR(100)" />
<text size="50" required="t" maxlength="100"><default>
http://</default></text> </item>
</container>
</root-container>
</ruleset>
</data-capture-requirements>