• Resolved mstudioIL

    (@mstudioil)


    I using the text layout and add
    <input type="reset" value="reset"/>
    but the button not shown, how do I add it?

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

    (@aurovrata)

    does it work without the Smart Grid plugin activated? the Smart-grid plugin does not render forms, this is done by the CF7 plugin itself. smart-grid only formats html.

    It is possible that the reset input type is stripped by the CF7 plugin itself. Have you enquired in the CF7 forum?

    Thread Starter mstudioIL

    (@mstudioil)

    Yes, it worked when I did not used Smart Grid, when I save the form the code disappear

    Plugin Author Aurovrata Venet

    (@aurovrata)

    dang, then that looks like a bug. I will look at this as priority and get back to yo.

    Thread Starter mstudioIL

    (@mstudioil)

    Thanks

    Plugin Author Aurovrata Venet

    (@aurovrata)

    fixed in v2.10

    Thread Starter mstudioIL

    (@mstudioil)

    Thanks for fixing it

    Plugin Author Aurovrata Venet

    (@aurovrata)

    wc, you can read FAQ #16 for more info on using custom html in forms.

    Do leave a review when you have time.

    Thread Starter mstudioIL

    (@mstudioil)

    OK, I only needed the reset button. I do not understand the FAQ.
    Add the review

    Plugin Author Aurovrata Venet

    (@aurovrata)

    no issues. The reset button will work as is, you don’t need the faq code to get it work.

    Briefly, CF7 plugin does not sanitise the forms being saved. Sanitising submitted data to your WP site is part of WP security. The CF7 plugin was created at a time when such checks were not being enforced by the WP plugin team.

    This plugin implements the sanitisation functionality, as a result it is not possible to add any/all html elements. For example, adding a <script> element in your form would be stripped when saved.

    The FAQ code gives you the possibility to add extra ‘rules’ to the sanitisation filter to allow other html elements to your forms… if required.

    Thread Starter mstudioIL

    (@mstudioil)

    I get it, so why they do not fix CF7?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    good question. It ought to be the author’s responsibility, but without the WP plugin team asking him to do so, he is unlikely to change his code. There are so many plugins in the repo that only news ones are scrutinised and validated.

    Thread Starter mstudioIL

    (@mstudioil)

    OK, I think I will ask him about it

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘input type reset’ is closed to new replies.