Wednesday 19 August 2009 6:28:52 am
Hi.....is it possible to do JavaScript Validation for class attributes. I done want to use server side....Currently i am using inbuilt validation for the "First Name" class attribute....can i do that using JavaScript.... <div class="content-view-full"> <div class="class-Meetings">
<h1>Meeting RFP</h1>
Please fill out the Form below and press the "Submit" button when you are done.
<hr style=" border:thin color:#D1D1C9;" width="735px;" /> {* validation *} {include name=Validation uri='design:content/collectedinfo_validation.tpl' class='message-warning' validation=$validation collection_attributes=$collection_attributes} {* form introduction *} <div class="attribute-short"> {attribute_view_gui attribute=$node.data_map.form_introduction} </div> <form method="post" action={"content/action"|ezurl} name="rfp"> {* First Name *} <b>{$node.data_map.first_name.contentclass_attribute.name}<span style="color:#FF0000">*</span></b> <div style="margin-top:5px;">
{attribute_view_gui attribute=$node.data_map.first_name}
</div> <br /> {* Form buttons - Processing *} <div class="content-action"> <input type="submit" class="defaultbutton" name="ActionCollectInformation" value="{"Submit"|i18n("design/ezwebin/full/feedback_form")}" /> <input type="hidden" name="ContentNodeID" value="{$node.node_id}" /> <input type="hidden" name="ContentObjectID" value="{$node.object.id}" /> <input type="hidden" name="ViewMode" value="full" /> </div> </form> Please help
|