We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gpapf-custom-format.php
1 parent 8d6db0d commit ff2bd2dCopy full SHA for ff2bd2d
gp-advanced-phone-field/gpapf-custom-format.php
@@ -7,7 +7,7 @@
7
* uses the international number (e.g. `+1 757-123-4567`) as a base and formats it like so: `+1 757.123.4567`.
8
*/
9
// Update "123" to your form ID and "4" to your Phone field ID.
10
-add_action( 'gform_save_field_value_983_1', function( $value, $entry, $field, $form, $input_id ) {
+add_action( 'gform_save_field_value_123_4', function( $value, $entry, $field, $form, $input_id ) {
11
12
if ( ! is_callable( 'gp_advanced_phone_field' ) || ! class_exists( '\libphonenumber\PhoneNumberUtil' ) ) {
13
return $value;
0 commit comments