Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

  • 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>

  • Newbies

Roko,

Try this... between the submit tag and the end of the form, insert

<input type="hidden" Name="-Find" Value=" ">

Note that there is a blank space for the value.

tomrt

  • Author
  • Newbies

Thanks a lot. It worked.

Roko

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.