Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user

How to concatenate 2 fields in wffmWFFM and assign them to one field before form submission?

I'm using the International Telephone Input jQuery plugin with a wffmWFFM (web formWeb Form for marketersMarketers) to have a field like this: enter image description here

To integrate the js plugin, a custom SingleLineTextSingleLineText was created.

But the issue here is that, this field will take only the local phone number without the country code.

My question is, how to concatenate the country code with the local phone number and assign the value to the custom field when a user submits the form?

How to concatenate 2 fields in wffm and assign them to one field before form submission?

I'm using the International Telephone Input jQuery plugin with a wffm (web form for marketers) to have a field like this: enter image description here

To integrate the js plugin, a custom SingleLineText was created.

But the issue here is that this field will take only the local phone number without the country code.

My question is how to concatenate the country code with the local phone number and assign the value to the custom field when a user submits the form?

How to concatenate 2 fields in WFFM and assign them to one field before form submission?

I'm using the International Telephone Input jQuery plugin with a WFFM (Web Form for Marketers) to have a field like this: enter image description here

To integrate the js plugin, a custom SingleLineText was created.

But the issue here is that, this field will take only the local phone number without the country code.

My question is, how to concatenate the country code with the local phone number and assign the value to the custom field when a user submits the form?

Source Link
Majdi
  • 11
  • 1

How to concatenate 2 fields in wffm and assign them to one field before form submission?

I'm using the International Telephone Input jQuery plugin with a wffm (web form for marketers) to have a field like this: enter image description here

To integrate the js plugin, a custom SingleLineText was created.

But the issue here is that this field will take only the local phone number without the country code.

My question is how to concatenate the country code with the local phone number and assign the value to the custom field when a user submits the form?