This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Address Field
Started 11 years ago by abdielsax | 6 posts |
-
Hi, I just want to remove the "state/province/region" field from the address.
Posted 11 years ago # -
You can edit the "includes/view-functions.php" file. Search around line 3387 and you'll find the HTML tags for the address field.
Simply remove the state/province/region part.MachForm Founder
Posted 11 years ago # -
Hi there all,
I have followed this advice and removed the "state/province/region" field and it was OK. However, I am getting an error while filling the address field as it says that all fields are required.
I have set it as "required" field, but I do fill all areas. Maybe there is some "predefined" type of information for the ZIP/POSTAL code? How can I change it to a "free" field?
Posted 11 years ago # -
Seems like altough you remove the html lines for the "State/province/region part", while filling the form that area is still required to be filled even tough it is not there. Wouldn't it be easier to add the option to hide that area in the "field properties" as it happens with the option to "hide address line 2"?
Would it be possible for someone to provide instructions on how to do this?
Posted 11 years ago # -
Can we have an update on this please as the 4.2 version is not at this position:! "includes/view-functions.php" file. Search around line 3387
Posted 10 years ago # -
Found the entry but you also need to mod this file:
http://www.appnitro.com/forums/topic/removal-or-hiding-of-state-province-region-and-country?replies=3#post-15509Posted 10 years ago #
Reply
You must log in to post.