Jump to content

Force a line break


MikeVM

Recommended Posts

I almost new to Java script and need help in maybe very simple problem.

I have a field with several drop-down names (office locations).

 

What I need: if name contains a slash ( /) in it then it should be a line break immediately after slash. Any help would be highly appreciated.

 

thank you

M

Link to comment
Share on other sites

Rayed,

 

thank you, this works - partially, but I have other fields with the same drop-down name (I use list from the library names), which not supposed to print two lines...

If I use *<br>* in the list, that line would force to break everywhere which I do not want...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...