You do this.
const handleEvent = e => {
setState(e.target.value);
console.log(state);
}| {"lastUpload":"2021-02-02T18:09:01.590Z","extensionVersion":"v3.4.3"} |
| <?php | |
| /* | |
| Plugin Name: Programmatically add Gravity Forms | |
| Plugin URI: https://daan.kortenba.ch/programmatically-add-gravity-forms/ | |
| Description: Programmatically add persistent Gravity Forms forms. | |
| Author: Daan Kortenbach | |
| Version: 0.1 | |
| Author URI: https://daan.kortenba.ch/ | |
| License: GPLv2 or later | |
| */ |
| function get_all_fields($entry, $form) | |
| { | |
| //only do this for a certain form (id 53 for example) | |
| // if ($form["id"] == 17) | |
| //{ | |
| foreach($form["fields"] as &$field) | |
| { | |
| //see if this is a multi-field, like name or address | |
| if (is_array($field["inputs"])) |
| <?php | |
| /* | |
| Plugin Name: Programmatically add Gravity Forms | |
| Plugin URI: https://daan.kortenba.ch/programmatically-add-gravity-forms/ | |
| Description: Programmatically add persistent Gravity Forms forms. | |
| Author: Daan Kortenbach | |
| Version: 0.1 | |
| Author URI: https://daan.kortenba.ch/ | |
| License: GPLv2 or later | |
| */ |