Gravity Form: Añadir 1 campo calculado a un formulario existente / To add a custom field to a gravity form -- 2

Tengo un formulario de wordpress diseñado con Gravity form. En este formulario se le pide al usuario que introduzca su teléfono (ejemplo 666777888)

Ahora necesito que cuando se grabe el formulario, se añada un campo que incluya el teléfono del usuario pero añadiendo delante el prefijo del pais "34"... (ejemplo 34666777888)

Es importante aclarar que este formulario se sincroniza con Hubspot, por lo que el campo debe ser visible (de lo contrario Hubspot no lo sincroniza) ..

I have a wordpress form designed with Gravity form. In this form the user is asked to enter his phone (example xxxzzzyyy)

Now I need that when the form is recorded, it is added a field that includes the user's phone but adding "+34" ... (example +34xxxyyyzzz)

It is important to take into account that this form is synchronized with our CRM (Hubspot) and because of that the field has to be shown... it can not be hidden.

Las week a programmer tried to solve my problem with this fucnion but it does no work

add_action( 'gform_pre_submission_10', 'pre_combine_phone' );

function pre_combine_phone( $form ) {

$combined = "34".$_POST['input_23'];

$_POST['input_55'] = $combined;;


Skills: CSS, HTML, PHP, Website Design, WordPress

See more: gravity forms shortcode parameters, gravity forms wordpress support, gravity form shortcode php, gravity forms html, how to create a custom form field in gravity forms, gravity forms custom field settings, gravity forms documentation, gravity forms advanced custom fields, expression engine upload file field contact form, custom data entry form excel, add data database php form, community builder date birth field registration form, add captcha jsp login form, subdreamer custom field contact form, add extra field registration form, add extra field html form, paypal custom field payment form, add custom field virtuemart product form, call javascript function custom field registarion form vbulletin, oscommerce add extra field registration form

About the Employer:
( 29 reviews ) Sevilla, Spain

Project ID: #23407503

Awarded to:


I can append the phrase +34 to your gravity form field. My average project completion time is within 3-5 hours on the same day. The skills I have include PHP, HTML5, CSS3, JavaScript, jQuery, WordPress Themes & Plugi More

€30 EUR in 1 day
(212 Reviews)

4 freelancers are bidding on average €51 for this job


hello Sir, We have experience in gravity form works. We have done projects with Gravity form. We are having more than 9+ years of versatile experience in Responsive,SEO effective design and [login to view URL] in Wordp More

€45 EUR in 1 day
(77 Reviews)

WP GRAVITY FORM EXPERT! Hello, Greetings! How are you? I know Gravity forms very well. I know WP and PHP since last 9 years. I have used Gravity forms on tons of sites before too. Can I start this project NOW? Tha More

€99 EUR in 2 days
(30 Reviews)

Hi greetings of the day I am a Experienced PHP Developer based out in Chennai,India. My experience revolves around development of web and mobile applications,Ecommerce websites. I believe that I am well qualified to un More

€30 EUR in 1 day
(74 Reviews)