Jump to content

Pressing [enter] in Form insted of clicking submit causes error 4


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

Recommended Posts

  • Newbies

When I press enter after filling in a text field instead of clicking the submit button of a form i get error code 4. When I do press the button the search goes on Ok. Does anybody have a workaround?

Roko

Here's the form:

-----------------------------------------

<form method="post" action="http://130.100.101.101:591/ctnz/FMPro" name="sort">

<input type="hidden" name="-DB" value="[FMP-CurrentDatabase]">

<input type="hidden" name="-Format" value="tablice/[FMP-CurrentDatabase]-list.htm">

<input type="hidden" name="-Max" value="[FMP-CurrentMax]">

<input type="hidden" name="-Lay" value="CGI">

<input type="hidden" name="-Error" value="tablice/[FMP-CurrentDatabase]-list.htm">

<input type="text" id="searchvalue" name="IDd" value="" class="inputBox" style="width:155px;">

<hr size="1">

Rezultate sortiraj po

<select name="-Sortfield" size="1" style="width:155px;">

<option value="IDd">ID-u</option>

<option value="ime">Imenu</option>

<option value="prezime">Prezimenu</option>

<option value="IDs" selected>Org. Jedinici</option>

</select>

<br>

<input type="submit" name="-find" value="Submit" class="pbutton" style="width:155px;">

</form>

Link to comment
Share on other sites

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