Focal Point
[SOLVED] Format text inside list used in a drop down box

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/344106921

May 28, 2009, 12:11 PM
Luiz De Assis
[SOLVED] Format text inside list used in a drop down box
Hello!

I am wondering if a drop down list can have values (text) with specific format (bold, underline, etc) since the data in the database has one unique format). I've created my dd list in excel, and then saved it as a csv file. It looks like it saved my formatting (bold, underline, etc). The second thing about the list is that it has values that are not in the database (District Assessments, State Assessments, Common Assessments, etc) that are basically working as “headers” or breaking points inside the list.

I've also created the master file for the csv file, then create the Focus database via hold file. However, once I linked my dd box to my Focus db (in the HTML Composer), the list fo values was no longer showing with the formatted text. Any suggestions will be greatly appreciated. Thanks!

Luiz


ASSESSMENT (name of the field in the data base)

-* My dropdown list:

State Assessments[B] (text not in db)
IOLA
LPA
UEWA
K
MS Math Placement
[B]District Assessment
(text not in db)
CAHSEE
CELDT
CAPA
CAPA-ALT
CMA
CST
[B]Common Assessments[B] (text not in db)
ELA
Math
Social Studies
Health
Science
[B]Assessment Reports[B] (text not in db)
Report 1 (hyperlink)not in db

This message has been edited. Last edited by: Kerry,
May 28, 2009, 12:55 PM
Dave Ayers
Luiz,

Your drop down list values end up as 'option' tag values in a 'select' list on the resulting web page.

IOW it all ends up as HTML. I don't think there is any way you can keep the formatting through all the WF manipulations.

But you should be able to figure out a way to format the option tags in a stylesheet, either CSS or Webfocus.


Regards,
Dave

http://www.daveayers.com

WebFocus/Maintain 7.6.4-8
on Win2000 and 2003 Server
May 28, 2009, 01:08 PM
Doug
You could use some edit / concatenation functions to add the desires HTML tags via a defined field based on a flag which is based on the existence of a value in a file. "DEFINE FILE" … BoldStart / BoldEnd fields. Then concatenate those fields to the values which are NOT in the file to show up as bold values. Granted, it’s complex, but doable. You’ll need to get in touch with MacGyver and use his techniques as well.
May 28, 2009, 03:54 PM
Luiz De Assis
Dave and Doug,

Thank you very much for the suggestions.

Luiz