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
Adding an additional field for selection
Started 14 years ago by KnockOuts | 4 posts |
-
I'd like to add a 'County' field to the address. I would have the list of counties for inclusion, but rather than putting this in manually I'd like to add this field in the code of the program so that it drops in automatically for new forms etc.
Please point me to the best way to do this. I'm also open to paying someone to modify the system to do this. Thanks!
Posted 14 years ago # -
Do you want to replace the State field with County? and make the county as a dropdown?
MachForm Founder
Posted 14 years ago # -
If anything, I'd like to replace the 'Country' field with 'County'. If I can't do that, I'd just like to add an entire new field in for the 'County' selection and make it a drop down.
Posted 14 years ago # -
Replacing Country with County would be very easy.
You'll need to edit two files:1) includes/language.php
Search around line 24:
$lang['address_country'] = 'Country';
change it to become:
$lang['address_country'] = 'County';
2) includes/view-functions.php
Search around line 968 and you'll see a list of countries. Simply change the values with your counties.
MachForm Founder
Posted 14 years ago #
Reply
You must log in to post.