antz Posted September 6, 2001 Posted September 6, 2001 Hello there, Does anyone know how to code a pull down from a value list with the selected option being whatever is already in the field? i.e. if the field has 'B' in it and when the page is viewed of that record the pulldown shows 'B' selected from it and if it's changed to 'D' then 'D' will appear selected in the pulldown the next time the page is accessed. Thaks in advance Antz.......UK.......
dspires Posted September 6, 2001 Posted September 6, 2001 <SELECT NAME="fieldName"> <OPTION VALUE="">None Selected [FMP-option: fieldName] </SELECT> The fieldName field on your referenced layout needs to be a pop up list.
LiveOak Posted September 6, 2001 Posted September 6, 2001 Doesn't this kind of defeat the purpose of a pulldown menu, if it only shows what is already in the field? If the field is blank, you have the choice of blank and end up typing in the value. How is this used? Anyway, create a self relationship based upon record no. matching record no. (create one, auto entered), define the value list using the entry field and this relationship. -bd
Anatoli Posted September 6, 2001 Posted September 6, 2001 If I understand correctly I am using: Field: typtz List: typtzwebentry <SELECT name="typtz" size="1"> <option> [FMP-Field: typtz] <option> ----------------------------------------------------- [FMP-valuelist:typtzwebentry,list=typtzwebentry] <OPTION> [FMP-valuelistitem] [/FMP-valuelist] </SELECT>
antz Posted September 7, 2001 Author Posted September 7, 2001 Thanks Anatoli, This works well and is just what I need. Antz........
Recommended Posts
This topic is 8476 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