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.

Updating global fields

Featured Replies

Can global fields be updated via the web? And if so, does the method differ from updating text or number fields? The following code has no effect on the year1 and year2 global fields:

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

<INPUT TYPE="hidden" NAME="-db" VALUE="ProgramInformation">

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

<INPUT TYPE="hidden" NAME="-format" VALUE="coopdb_2year.html">

<TABLE>

<TR>

<td>Year 1</td>

<td><INPUT type="text" size=5 maxlength=4 name="year1"></td>

<td>Year 2</td>

<td><INPUT type="text" size=5 maxlength=4 name="year2"></td>

</TR>

</TABLE>

<p>

<INPUT TYPE="Submit" NAME="-edit" value="Continue">

<INPUT TYPE="Reset" VALUE="Clear form">

</FORM>

"Can global fields be updated via the web?"

I don't know the answer to that question. However I do note that you are performing an -edit action.

"Other tags that are required: -db, -recid, field name" (CDML Reference).

Where is your -recid?

  • Author

> I don't know the answer to that question.

It's yes, as I just discovered.

> However I do note that you are performing an -edit action.

> "Other tags that are required: -db, -recid, field name" (CDML Reference).

> Where is your -recid?

I tried using [FMP-CurrentRecID] with code above, but -1 was returned. However, by switching from -view to -finall on the page previous to the above, a proper Rec ID was returned.

Thanks for your help!

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.