• Resolved josespinosa

    (@josespinosa)


    Hi. Is it possible to add attributes to the input fields?
    I need to add the following:
    oncopy=”return false”
    onpaste=”return false”
    autocomplete=”off”

    Thanks for your help.

Viewing 1 replies (of 1 total)
  • Plugin Support Abul Khoyer

    (@hellokhoyer)

    Hello @josespinosa,

    There is no default option to add attributes with input fields. You can add using custom JS. Please find the Custom CSS/JS tab under the form’s Settings & Integrations section. Then use the following JS in the Custom JavaScript section and replace the input’s name attribute according to yours.

    let inputName = document.querySelector('input[data-name="input_text"]');
    inputName.setAttribute('oncopy', 'return false');
    inputName.setAttribute('onpaste', 'return false');
    inputName.setAttribute('autocomplete', 'off');

    Hope this helps.

    Thank you.

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