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
Started 14 years ago by dmud | 4 posts |
-
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 14 years ago # -
Never mind! I found the line which controls this in the post-functions.php file.
Posted 14 years ago # -
Where did you find the post function. I'm still looking for it.
Thanks
Posted 14 years ago # -
Search around line 1667 and you'll find this code:
$rules[$element_name_6]['required'] = true;
remove that line.
MachForm Founder
Posted 14 years ago #
Reply
You must log in to post.