Skip 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.

search form

Featured Replies

Hi I've created a database and I've created some custom CDML pages. And it is driving me mad. The form works fine but there is only one problem. When I fill in one of the fields and hit enter something strange happens. In safari i get the result as you would expect but in Internet Explorer I'm redirected to the error page i defined. When I press the search button in Explorer, everything works fine but when i press enter it won't.

Even stranger, this page is an adaptation of a page i made for another database, and this one works perfectly in both safari and Explorer.

I've tried almost everything that I could come up with... I've changed the names of the fields, turned indexing on and of in the DB, I've even built up the page from scratch but nothing seems to work.

I'm working in filemaker 6 and here's the code I've been using

 

<FORM ACTION="FMPro" METHOD="post">

        <INPUT TYPE="hidden" NAME="-db" VALUE="FLIR_Design_Status.fp5">

        <INPUT TYPE="hidden" NAME="-lay" VALUE="Algemeen">

        <INPUT TYPE="hidden" NAME="-format" VALUE="FLIR_DB_result.htm">

        <INPUT TYPE="hidden" NAME="-error" VALUE="FLIR_DB_error.htm">

		<INPUT TYPE="hidden" NAME="-SortField" VALUE="Taalversies">

   		<INPUT TYPE="hidden" NAME="-SortORder" VALUE="Ascending">

	

      <table width="100%"  border="0" cellspacing="0" cellpadding="0">

        <tr bgcolor="#F0F0FF">

          <td width="33%" height="30"><strong>&nbsp;ZOEKVENSTER 'STATUS DATABASE'</strong></td>

          <td width="33%" height="30">&nbsp;</td>

          <td width="33%" height="30" bgcolor="#F0F0FF">&nbsp;</td>

        </tr>

        <tr>

          <td width="33%" height="30">>&nbsp;Naam : </td>

          <td width="33%" height="30"><input name="Brochurenaam" type=text value="" size=20></td>

          <td width="33%" height="30">&nbsp;</td>

        </tr>

        <tr>

          <td height="30">&nbsp;Taal :</td>

          <td height="30"> 

		          <SELECT NAME="Taalversies">

          <option value="">kies taal</option>

          <option value="EN">Engels</option>

          <option value="FR">Frans</option>

          <option value="DE">Duits</option>

		  <option value="NL">Nederlands</option>

          <option value="IT">Italiaans</option>

          <option value="SP">Spaans</option>

          <option value="CH">Chinees</option>

          <option value="JP">Japans</option>

        </SELECT>  

		  </td>

          <td height="30">&nbsp;</td>

        </tr>

        <tr bgcolor="#F0F0FF">

          <td height="30"></td>

          <td height="30"><input type="submit" name="-Find" value="Zoeken"> <INPUT name="reset" TYPE="reset" VALUE="Wissen"></td>

          <td height="30" align="right"><input type="submit" name="-FindAll" value="Toon alle Records"></td>

        </tr>

      </table>

	  </FORM>

  

Try adding this line:

<input type="hidden" name="-find">

However, you may have problems because have both "-find" and "-findall" in the Form. You can solve that with a little bit of Javascript.

Good Luck.

Garry

Gaah! I'm so CDML rusty I didn't even realize Garry's answer was the same trick I use to use for that enter/return submit issue, except I had a space character value.

<INPUT TYPE="hidden" NAME="-find" VALUE=" ">

I used to just insert that before every submit button but when I started using IMG instead of submit buttons, I stopped for some reason, so it took me a while to find that bit of code. It works, though!

Hey, Garry... what if he tries... <input type="hidden" name="-findall">

Hey, wobbie... you may also want to consider -max and nav links in case findall gets too big.

--ST

"-findall" may be a reasonable way to go smile.gif

All the best.

Garry

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.