Okay
  Public Ticket #2898960
Set focus in first input field in modal box
Closed

Comments

  • Gordon started the conversation

    Hello,

    Please can you tell me how to set focus on the first input field when the modal opens? For example if you click on the new entry button at the front end (editing).

    I searched everywhere and can not find any solution.

    Kind regards.

    Gordon Mendeszoon



  • [deleted] replied

    Hi Gordon

    Thank you for reaching out to us.

    Can you please explain a bit more what you mean by `set focus`? You can make it a mandatory field so the client will have to fill it in to submit a new row, would that work for you?

    8632437977.png


    You can use Conditional formatting or custom CSS to play around with the style but I'm afraid provided support does not include writing custom solutions.

  • Gordon replied

    What i mean is when you click on a input field you see the cursor blinking in that input field.

    I want this to happen in the first input field when the modal opens. I know there's a jquery command for it but i dont get it to work.

    Hope this helps.

  • [deleted] replied

    Hi Gordon

    Unfortunately this cannot be achieved using the plugin's builtin features and the provided support doesn't cover custom coding, so we wouldn't be able to assist you much there I'm afraid.

    But I'll kindly ask you to add it as a feature suggestion on this page. 

    Features are pushed up on our "to-do" list when there are a lot of customers requesting those features, so having your vote as a customer can be beneficial to this feature being developed sooner.