Jump to content

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

Recommended Posts

Posted

Hi, Walker! I think this Q comes up often, especially wrt login/password systems. I believe the answer is "yes" and it can be done with JavaScript or FMP/CDML. If no one gives you code right away, search previous posts... --ST

Posted

Here is an example:

This Javascript goes between the <head.. tags:

<script>

function checkField() {

if (document.myform.myfield.value) == "") {

alert("Field cannot be empty") ; }

else {

document.myform.submit() ; } ;

} ;

</script>


This is your form:
<form name="myform" action="FMPro" method="post" onsubmit="checkField(); return false;">

.

.

Enter Field:<input type="text" name="myField" value="">

<input type="button" value="Find" onclick="checkField();">

</form>


Hope this helps.

Garry

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