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.

Portals without inline action tag

Featured Replies

I have browsed as many past posts as I could find, so I hope I am not repeating things here...

I am using FMP5 Unlimited, serving two databases which are related. I used HomePage and additional tags to create a search page which returns results in a page with a portal. The portal works great as long as I use the button (generated by HomePage) to submit the search request. However, If I use a link to submit the search, I only get the fields from the parent file - no related fileds in the portal.

I have managed to use the inline action tag to get things going for now, but am curious as to why I can't duplicate the button action in a link.. As my databases grow, the inline tag will become slower I believe, so I need to solve this some time soon.

Any ideas?

Thanks in advance!

you mean you are trying to submit a form with a text link instead of a button??

<a href="javascript:document.FORMNAME.submit()">submit the form</a>

change FORMNAME to whatever the name of your form is.. if your form doesn't have a name give it one..

<FORM ACTION="FMPro" name="FORMNAME">

[This message has been edited by bman (edited March 12, 2001).]

oops you know what, i misread you post, i dont think what i posted is going to help you.. sorry.. pay me no mind.. its Monday.. arrgghhh

[This message has been edited by bman (edited March 12, 2001).]

  • Author

Thanks. I guess I should clarify. The button sends the canned search request to FMP and seems to package it in a way I have as yet been unable to duplicate using a link.

One effort before I resorted to inlineAction:

FMPro?-DB=WDWCourseDB.fp5&-Format=search_results.htm&-error=search_error.htm&-op=e&cdbOnWeb=1&-Find

Does your suggestion only work for the submit button? Could I use a form and use Java to submit the -Find command?

well if you really want to use a form and submit it with a link.. you just have to put this at the end of your form

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

so it might look like this..

code:


<FORM ACTION="FMPro" name="FORMNAME">

//All you form stuff goes here//

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

</form>

<a href="javascript:document.FORMNAME.submit()">submit the form</a>


but thats if you want to submit the form with a link.. not sure if thats what you want to do or not.

[This message has been edited by bman (edited March 12, 2001).]

FMPro?-DB=WDWCourseDB.fp5 <ok>

<?>you have not designated the layout in your db. Are you using just one layout?<?>

&-Format=search_results.htm <ok>

&-error=search_error.htm <ok>

<?>&-op=e <huh?>

&cdbOnWeb=1 <I take it that you have a field cdbonweb and you are searching for all records which contain the numeric value "1" within that field, and that is the only field on which you are performing a find>

&-Find <ok>

Peace

Keith M. Davie

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.