We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42503
    • 120 Posts
    Hi,
    In my Formit form I want to validate some of the field. But it is not validating, only the email field is getting validated, Other field are not showing any response.
    [[!FormIt?
    &hooks=`spam,FormSave,email,redirect,FormItAutoResponder`
    &emailTpl=`free_quote_report` 
    &emailSubject=`Free Quote Form - [[+name]]` 
    &emailTo=`[email protected]`
    &redirectTo=`78`
    &fsFormTopic=`test`
    &fiarTpl=`fiarTplquote`
    &fiarSubject=`We have received your inquiry`
    &fiarToField=`email`
    &fiarHtml=`html`
    &submitVar=`freequote`
    &validate=`name:required, 
          email:email:required`
    ]]
    


    <input type="text" name="name" id="name" class="txtBox_free_quote" value="[[!+fi.name]]" title="Name" />
    [[!+fi.error.name]]
    <input type="text" name="email" id="email" class="txtBox_free_quote" value="[[!+fi.email]]" title="Email" style="float:right;" />
    [[!+fi.error.email]]
    


    Please help me find the solution of this problem.

    Thank you


      • 42503
      • 120 Posts
      Can any help me out with this problem.Quote from: pronab.saha at Aug 05, 2013, 05:32 AM
      Hi,
      In my Formit form I want to validate some of the field. But it is not validating, only the email field is getting validated, Other field are not showing any response.
      [[!FormIt?
      &hooks=`spam,FormSave,email,redirect,FormItAutoResponder`
      &emailTpl=`free_quote_report` 
      &emailSubject=`Free Quote Form - [[+name]]` 
      &emailTo=`[email protected]`
      &redirectTo=`78`
      &fsFormTopic=`test`
      &fiarTpl=`fiarTplquote`
      &fiarSubject=`We have received your inquiry`
      &fiarToField=`email`
      &fiarHtml=`html`
      &submitVar=`freequote`
      &validate=`name:required, 
            email:email:required`
      ]]
      


      <input type="text" name="name" id="name" class="txtBox_free_quote" value="[[!+fi.name]]" title="Name">
      [[!+fi.error.name]]
      <input type="text" name="email" id="email" class="txtBox_free_quote" value="[[!+fi.email]]" title="Email" style="float:right;">
      [[!+fi.error.email]]
      


      Please help me find the solution of this problem.

      Thank you


        • 42503
        • 120 Posts
        Please help. Facing lots of issue due to this.
          • 6629
          • 60 Posts
          What happens if you only use the email and redirect hook?