In an international form I'm building, the State / Province / Region field and Zip Code field are both optional in certain countries. If I mark an address group as required, is it possible to override the requirement for State / Zip via PHP (still passing a blank, but allowing it past the normal GF validation)?
I think it might actually be related to the code I've been working with lately, the gform_validation filter, in which I need to check the is_valid value if it's false, and then check in the form>>fields>>field_id array if there's a failed validation / validation message set and override it if it's not a certain country. Figured I'd put my trek here in case anyone else comes across the same need.