This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

removed country from address and now getting error


  1. dmud
    Member

    I successfully removed the Country from the address block following the instructions on another post. Now when I test the form, it tells me the address block is incomplete, even though all the visible fields are filled in. I want the address to be a required field, so I'm guessing it's because it's still looking for the country. How do I resolve this?

    Posted 13 years ago #
  2. dmud
    Member

    Never mind! I found the line which controls this in the post-functions.php file.

    Posted 13 years ago #
  3. grimdesigns
    Member

    Where did you find the post function. I'm still looking for it.

    Thanks

    Posted 13 years ago #
  4. yuniar

    Search around line 1667 and you'll find this code:

    $rules[$element_name_6]['required'] = true;

    remove that line.


    MachForm Founder

    Posted 13 years ago #

RSS feed for this topic

Reply