March 26, 200322 yr 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
March 26, 200322 yr 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]
March 26, 200322 yr Author 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
Create an account or sign in to comment