Update the form field postdata title in a form
-
Hello, I want to update the default value for the input : postdata-title. I tried all this code but it didn’t work. The only thing that worked is the placeholder.
$data1 = array(
‘post_title_placeholder’ => ‘num client’,
‘post_name’ => ‘num client’,
‘post_title_name’ => ‘num client’,
‘post_title’ => ‘titre du post’,
‘value’=> ‘titre du post’,
/*
‘default’ => ‘titre1’,
‘value’ => ‘titre2’,
‘postdata_title_default’ => ‘titre4’,
‘postdata_title_value’ => ‘titre5’,
‘placeholder’ => ‘titre6’,
‘post_title’ => ‘titre7’,
‘post_content’ => ‘titre 8’,
‘post_content_label’ => ‘titre 9’,
‘post_title_label’ => ‘titre 10’*/
);$fields = Forminator_API::update_form_field( 16048, ‘postdata-1’, $data1 );
The page I need help with: [log in to see the link]
- The topic ‘Update the form field postdata title in a form’ is closed to new replies.