user_firstname; $field_values['formCognoms'] = $current_user->user_lastname; $field_values['formTel1'] = get_user_meta($current_user->ID,"telefon1",true); $field_values['formTel2'] = get_user_meta($current_user->ID,"telefon2",true); $field_values['formFax'] = get_user_meta($current_user->ID,"fax",true); $field_values['formDpostal'] = get_user_meta($current_user->ID,"dpostal",true); $field_values['formCentre'] = get_user_meta($current_user->ID,"centre",true); $field_values['formDcentre'] = get_user_meta($current_user->ID,"dcentre",true); $field_values['formTitulacio'] = get_user_meta($current_user->ID,"titulacio",true); $field_values['formObserva'] = get_user_meta($current_user->ID,"observa",true); gravity_form(5, false, false, $display_inactive=false, $field_values, false); } else { echo "ERROR"; } ?>