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.

value list/direct enter on same form

Featured Replies

Hey all. I am trying to give people the option of choosing an item from value list or inputting their own value instead. However, when you submit this form and use the manual input instead, it puts a blank line in the field (as if it's trying to combine both the empty value list and the manual field enter).

Without a truncating calculation on the FMP end (can do that, don't want to), is there another way to line both up on the same form (again, could have two forms on same page, don't want to do that) and not get that extra blank line if people manually enter?

Here's the basic code:

<TR>

<TD WIDTH="33%" BGCOLOR="#CCCCCC">

<P ALIGN=right>Team1 frown.gif" border="0 If dual or tri meet, manually

enter)<BR>

e.g., Harvard-Columbia</P>

</TD>

<TD BGCOLOR="#CCCCCC">

<P><Select name="Team1">

<option value=""> - No Selection -

[FMP-ValueList: Team1, List=IvyTeam]

<option [FMP-ValueListItem]>[FMP-ValueListItem][/FMP-ValueList]

</Select></P>

</TD>

<TD BGCOLOR="#CCCCCC">

<P><INPUT TYPE=text NAME=Team1 VALUE="" SIZE=20><BR>

(Use this method to manually enter)</P>

</TD>

</TR>

<TR>

Thanks

Bevin

  • Author

okay, i'm reposting this to get it back to the top (i know that's cheap, but i'm desperate)

i thought at least anatoli or vaughan would take a stab at this...

RE: Without a truncating calculation on the FMP end (can do that, don't want to), is there another way to line both up on the same form

That is your valid answer smile.gif" border="0 What is wrong with calculation field in FM? The execution time is couple of nanoseconds smile.gif" border="0

AFAIK there is no way to do that in HTML. Only with complex JavaScript.

  • Author

thank you anatoli...i was just trying to find a shortcut wink.gif" border="0

once again shows that i should always be thinking ahead to my web pages when initially designing the database...back to the drawing board.

bevin

CyberSport, FM fortunately is forgiving in structural changes smile.gif" border="0

Remember, do not try to do much in CDML/HTML, You can overload WebCompanion faster, than calculation fields in FileMaker.

It will take some time to get "feel" for technologies, it took me 1-2 years, but I am now confident I am using technologies at their best: FM, CDML and JavaScript as is appropriate.

It is worth it! I am loading more and more companies to our single WebCompanion and everything still runs OK and fast.

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.