Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 8442 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

Posted

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

Posted

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.

This topic is 8442 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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