On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hi all;
    I am using three drop-down 1 for Region(initial have some values like Asia,Africa,Australia etc) 2 is country(initial have no option) and 3 is state(initial have no option).

    on change of 1st drop-down(Region) 2nd drop-down(country) display some country depending on Region using javascript.Similarly when we select country 3rd drop-down(state) show state depending on country.
    When efrom post is showing error like that

    Some errors were detected in your form:
    cselcountry » Incorrect value
    cselstate » Incorrect value
    .

    Can anybody tell me what the problem.

    Brijesh Singh
    Aquevix Solution
    • Hello all;
      I get the solution of the problem.
      In select box we just change the rule of #LIST by using calling eform="::0::#EVAL return true;" in select box like

      <select id="cfCselcountry" name="cselcountry" onchange="ff_CselCountry_action(this);" size="1" style="width:150px;" eform="::0::#EVAL return true;">
      <option value="none" >Select Country</option>
      </select>
      Brijesh
      Aquevix Solutions.
      • Oh, thanks!
        • You save me a lof ot time! I've just logged in to say you "Thank you"!