Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How can I prevent forms from being prematurely submitted when users click on the "Enter" key?

New Here ,
Jun 18, 2010 Jun 18, 2010

Is there any way that I can prevent Dreamweaver CF submission forms from being prematurely submitted by the user when he/she clicks on the "Enter" key before they have completed the form?  I need the users to finish form and click on the "Submit" key.  I have the "Submit" key action configured as "submit form"

TOPICS
Server side applications
679
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Jun 18, 2010 Jun 18, 2010

You can use javascript to validate the form without page reload but users that have js disabled will still be able to send the form. In which case use server side form validation. Google search for terms metioned will lead you to solutions.

Translate
Guest
Jun 18, 2010 Jun 18, 2010

You can use javascript to validate the form without page reload but users that have js disabled will still be able to send the form. In which case use server side form validation. Google search for terms metioned will lead you to solutions.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 18, 2010 Jun 18, 2010
LATEST

Thank you!

Found a solution through Google.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines