• Resolved Qilin

    (@qilin2000)


    Hello there,

    I use shortcode and form, the plugin works fine, the only issue is every time a user opens the page where the shortcode is implanted, the form’s autofocus attribute automatically positions the cursor to the password form, which is not what I want because deleting an account is a big decision that should be left to the user to decide rather than me trying to guide him to make a decision.

    Can you disable the autofocus attribute on the password form?

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

    (@cmc3215)

    @qilin2000

    There is no option to disable autofocus. When using the shortcode form option, I’d suggest putting the shortcode on its own page and link to it rather than putting the shortcode form alongside other content.

    This is part of the tooltip for the shortcode form option on the plugin’s settings page:
    “Typical form use would be to place the shortcode on a custom confirmation page you create for account deletion, then link to the confirmation page from somewhere appropriate on your site (e.g. a profile page).”

    Thread Starter Qilin

    (@qilin2000)

    @cmc3215

    Thanks for your quick response, I totally understand, but the simplest way to do this is to remove the autofocus attribute from the form, is it possible?

    Thread Starter Qilin

    (@qilin2000)

    @cmc3215

    Hi, I found a file named shortcode.php in the plugin folder, which contained the code for the input box. I deleted autofocus=”autofocus” and everything returned to normal. It would be great if you could fix this problem in the new version. This is a great plugin, thanks for your dedication.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can you disable the autofocus attribute on the password form?’ is closed to new replies.