CyberSport Posted December 17, 2001 Posted December 17, 2001 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 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
CyberSport Posted December 20, 2001 Author Posted December 20, 2001 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...
Anatoli Posted December 20, 2001 Posted December 20, 2001 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 What is wrong with calculation field in FM? The execution time is couple of nanoseconds AFAIK there is no way to do that in HTML. Only with complex JavaScript.
CyberSport Posted December 21, 2001 Author Posted December 21, 2001 thank you anatoli...i was just trying to find a shortcut 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
Anatoli Posted December 21, 2001 Posted December 21, 2001 CyberSport, FM fortunately is forgiving in structural changes 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now