Jump to content

Pressing "Enter" instead of button to submit a form causes error


This topic is 8168 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi All,

I have a form with one text field whose value is set to the corresponding field in my database. I want to give the user the opportunity to change the content of this field. This form has two submit button, one with -Edit and one with -Delete.

I noticed recently that, when the focus is in the text field, if you use the "Enter" key instead of clicking on one of the button, you get the error format file...

Is there a way to avoid this ?

Either deactivating the "Enter" key effect or associate it with my -Edit submit button would do.

Thanks

Link to comment
Share on other sites

This topic is 8168 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.