• Resolved Marlimant

    (@marlimant)


    Hi:
    clear_on_hide is cleaning readonly texts too, like this:
    [text my-field readonly "This text is immovable"]

    So, after to clear the input field, the user will see an empty field which cannot be filled.

    May be if existed an exception of clear_on_hide like “not_clear_on_hide” or:
    [text my-field readonly !clear_on_hide "This text is immovable"]
    can be more easy than create a lot of nested groups.

    Thanks for this great plugin addon.

Viewing 1 replies (of 1 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    Hey, I opened a new issue on github, which should address this problem in the future. I’m not going to go with not-clear-on-hide options, cause I think it might be confusing. I think my proposed solution would work more intuitively: “clear_on_hide should restore all fields to their default values instead of clearing them”. What do you think?

    I will close this topic, but follow up here:
    https://github.com/pwkip/contact-form-7-conditional-fields/issues/31

Viewing 1 replies (of 1 total)
  • The topic ‘!clear_on_hide’ is closed to new replies.