In the particular application I'm working on in the advanced "address" field, the use of "Armed Forces Americas", Europe, and Asia are not permitted for users to choose (U.S. Address format).
Is it possible to delete those?
Thanks.
In the particular application I'm working on in the advanced "address" field, the use of "Armed Forces Americas", Europe, and Asia are not permitted for users to choose (U.S. Address format).
Is it possible to delete those?
Thanks.
Minnie, you should be able to use this hook:
http://www.gravityhelp.com/documentation/page/Gform_address_types
And just list out the states you'd like to use there.
Thanks, that seems clear.
What isn't clear is something more basic. I don't see in the hooks section of documentation the basics of hooking.
Does one edit a php file? Add a file? What keyword goes where to create this?
Sorry, not working on this before, I don't have a handle (so to speak) on the process itself and it seems like the documentation assumes something I lack.
No problem, you can place this into your theme's functions.php file.
Cool, I just edited the three "Armed forces..." out of the common.php file in your theme folder out of the state array list to do the job.
Do I assume correctly that common.php will be overwritten by future updates?
Yeah it will, so you'll just want to make a note of that.