Support » Plugin: Advanced Custom Fields: Extended » [acfe_form(array(…] Form settings cannot be overridden.

  • Resolved t.maruya

    (@tmaruya)


    I wrote the following code in the template.

    acfe_form(array(
    	'name'	=> $jigyo_acfe_id,
    	'acfe_form_submit_value'=> "TEST",
    ));

    The’name’ specification is working correctly.
    However, the specification of’acfe_form_submit_value’is not overwritten.
    Is there something wrong with my description?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author hwk-fr

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    Sorry, the “Override Settings” examples in the documentation were wrong. The setting name you’re looking for is submit_value, so your form function should look like this:

    acfe_form(array(
        'name'	   => $jigyo_acfe_id,
        'submit_value' => 'TEST',
    ));
    

    I just updated the Form Integration examples with the correct names. I also added a Settings Cheatsheet section to show all available Forms settings.

    Hope it helps!

    Have a nice day!

    Regards.

    Thread Starter t.maruya

    (@tmaruya)

    Hello,

    Thank you for answering.
    This Settings Cheatsheet is exactly what I’ve been waiting for.
    This is a great response.

    “Submit button” not found on the Cheatsheet.
    This can be set in “Dynamic Form / Settings”.
    Can this item be overwritten?

    • This reply was modified 2 months, 2 weeks ago by t.maruya.
    Plugin Author hwk-fr

    (@hwk-fr)

    Hello,

    The “Submit Form” default value in the Form Admin UI is:

    <input type="submit" class="acf-button button button-primary button-large" value="%s" />
    

    As you can see on the Settings Cheatsheet, the setting that use this value is named html_submit_button.

    Hope it helps!

    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.