Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

How to disable "Enter" key when user fills out the form?


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

Recommended Posts

Posted

Hi Guys:

Thanks very much for all the helps on "Valuelists disappear" topic, I solved it by adding "List=Value List Name" in [FMP-Valuelist: Field Name, List=Value List Name"] although List is optional in some cases. For "Field is missing" error, I also found the cause, there is a mistake made on one field name (it's my own fault!)

Now I wonder how to disable "Enter" key when user fills out the forms, I know users like to hit on "Enter" key when they finish typing in one field.

Question two is regarding to prevent submission of form Data multiple times (by clicking the submit button on a web form, then the back button in the web browser), someone suggested to use

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

But it doesn't work, when I go back and forth, I can always generate a new record, it's not what I want, can anybody help me?

Thanks a lot!

Catty

Posted

You need to learn about the meta tags. They are very valuable. One feature which you need to use with the no-cache is a meta tag using a refresh. Learning about meta tags and how to construct that code is very useful. A search engine for meta. I think vancouver had a very useful page. It's been a while though since I read it.

Another problem which you will encounter is the nervous fingered client who double-clicks the -action button. You would be well advised to read the thread about nervous finger on the cdml forum. You will be told about JavaScript. You will be provided a link to a usable code. The editing which is necessary is very obvious. I know. I used that link and was able to work out the edit for my needs. It was pretty easy to do.

[ January 31, 2002: Message edited by: Keith M. Davie ]

Posted

Catty

If your form is:

code:


<form name="newform" action="FMPro" method="post">

you can post that with

<A href="javascript:Document.newform.submit()">Submit</A>


[ January 31, 2002: Message edited by: Anatoli ]

Posted

Hi, I've had to do this a nu,mber of times and Javascripts are very helpful.

at

http://javascript.internet.com/

I found ready-made scripts including one called 'submitonce' which stops the form from being submitted twice and there's also a neat simple one which vaildates that all the fields you need are filled in.

If you can't find the ones you need, mail me for a copy from my collection!!

I also had to do an online voting site for trade awards which had to catch whether people went back and voted again, So I collected lots of tricks for that, many of which used cookies . frown.gif" border="0 Again, mail me if it will be of any use.

regards, Jeff

This topic is 8396 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.