Click to See Complete Forum and Search --> : need to create an email link


T23
11-10-2008, 06:15 PM
Hi,
I have some files I need to modify. I want an email link and I'm guessing this little file is a place to put it but how (assuming it is). Not sure how simple it is or whether this will do it for me. Thanks for any help. Here's the code:

<?xml version="1.0" encoding="utf-8"?>

<contactFormStructure>



<formItems>



<item id="1" label="Name" required="true">

<textToShow>Name:</textToShow>

</item>



<item id="2" label="E-mail" required="true">

<textToShow>E-mail:</textToShow>

<validator>EmailValidator</validator>

</item>



<item id="3" label="Fax">

<textToShow>Fax:</textToShow>

<restrict>+-.0-9</restrict>

</item>



<item id="4" label="State">

<textToShow>State:</textToShow>

</item>



<item id="5" label="Message" required="true">

<textToShow>Message:</textToShow>

</item>



</formItems>



</contactFormStructure>

T23
11-10-2008, 06:24 PM
OK. I found some references. Seems its not so simple. May have to get some other assistance.

Alain COUTHURES
11-11-2008, 12:22 AM
XSLT can transform XML to XML (XHTML, XForms, ...), HTML or text.

On browser side, XForms can then check that the value entered has the correct type and email is one of those known types.