• Resolved antonv

    (@antonv)


    [save id:save-id class:save-class "Save"]

    generates following HTML

    <input type="submit" value="Save" class="wpcf7-form-control wpcf7-save save-class wpcf7-submit cf7_2_post_save">

    note id="save-id" is missing.

    Is there a fix to include the id attribute I can patch?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Is there a fix to include the id attribute I can patch?

    So this should work, but unfortunately there is a change in the CF7 plugin which breaks this.

    This will require a total custom button tag handling code to make it work, so I will introduce a fix in the next release. For now you can insert a hard-coded id attribute into your plugin code,

    file post-my-cf7-form/public/class-cf7-2-post-public.php line 313

    Thread Starter antonv

    (@antonv)

    Thank you, hard coding did the trick.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    this is now solved in v5.5 which will release this coming week.

    A pre-release version is available for from the repo to test.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ID attribute ignored by [save]’ is closed to new replies.