MikeVM Posted November 21, 2008 Share Posted November 21, 2008 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 More sharing options...
Rayed Posted November 21, 2008 Share Posted November 21, 2008 M, If you want a simple line break in a rule, just type in the html <br> after the forward slash. This will make the words after the / to jump to the next line. Hope it helps. Rayed Link to comment Share on other sites More sharing options...
MikeVM Posted November 24, 2008 Author Share Posted November 24, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.