cmartin Posted March 26, 2003 Posted March 26, 2003 The following piece of code leaves my pop-up unpopulated. The field PatientStatus is on the layout specified in -lay and the value list attached to that field is also called PatientStatus. Why doesn't this work? <SELECT NAME="PatientStatus"> [FMP-option: PatientStatus] </SELECT> Thanks- Courtney
Anatoli Posted March 26, 2003 Posted March 26, 2003 From CDML datbase: Tag [FMP-ValueList] What it does Repeats the HTML between [FMP-ValueList] and [/FMP-Valuelist] for all the values in the specified value list. Syntax [FMP-ValueList: Field Name , List=Value List Name ] Parameter(s) First parameter: Name of a field that the value list is associated with. Second parameter (optional): Name of a value list to use. The default is to use the value list associated with the field on the specified layout. Syntax example(s) Display value List using an HTML file [FMP-ValueList: Groups, List=GroupList] <input type="radio" name="Groups" value="[FMP-ValueListItem]" [FMP-ValueListChecked]>[FMP-ValueListItem] [/FMP-ValueList] <!-- After processing, the HTML sent to the browser could look like: <input type="radio" name="Groups" value="Production" >Production <input type="radio" name="Groups" value="Sales" checked>Sales <input type="radio" name="Groups" value="Support" >Support --> Other tags that are required [/FMP-ValueList] See also [FMP-Option], [FMP-ValueListChecked], [FMP-ValueListItem]
cmartin Posted March 26, 2003 Author Posted March 26, 2003 Anatoli- Yes I have seen that in the CDML ref db, but I have also seen this: Parameter(s) First parameter: Name of a field that the value list is associated with. Second parameter (optional): Name of a value list to use, the default is to use the value list associated with the field on the specified layout. Syntax example(s) Display a pop-up menu with value list using an HTML file <select name="Groups"> [FMP-option: Groups, list=GroupList] </select> And I am using this exact syntax on another webpage. So that does not explain WHY it doesn't work. Thanks- Courtney
cmartin Posted March 26, 2003 Author Posted March 26, 2003 The code snippet in my original post does in fact work. Sorry! -Courtney
Recommended Posts
This topic is 7982 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