Cannot update an input text field value with php
-
Hello, I am trying to populate my update form fields from a custom post type data.
Bases on the plugin docuention, I used the Forminator_API::update_form_field( $form_id, $field_id, $data ); method like this:
$data =array(
'options' => Array ( 'label' => 'Prenom', 'value' => 'this is the last name' ), 'name' => 'text-1', 'value' => 'this is the last name' );$fields = Forminator_API::update_form_field( 16049, ’email-1′, $data );
And it did not work. This code only works for the email input type and the phone input.
Any help please ?
Thank you.
The page I need help with: [log in to see the link]
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
The topic ‘Cannot update an input text field value with php’ is closed to new replies.