William,
On Sep 11, 2006, at 11:53 AM, William de Smet wrote:
Hi there,
Thanks to JB and Ken it works but I want to go a little further.
Now I have 3 fields in which the user puts text and they all need to
be combined into one field (all three with htmlText).
The code used to work (without htmlText) and each line was pasted
after the last line.
Now it doesn't work anymore. And even the spaces between he separate
fields are gone. What am I doing wrong?
The code so far:
on mouseUp
put "" &cr into tData
if fld "doel" = empty
then beep
then answer error "Er is geen doel gekozen!"
then exit mouseup
else put "<b>Doel</b>" &cr & the htmltext of fld "doel" &cr&cr
after tData
The problem is that now you are using htmltext instead of just
putting text from the variable into the field. HTML ignores carriage
returns, so what you'll have to do instead is this:
else put "<p><b>Doel</b></p>" & the htmltext of fld "doel" & "</
p><p></p>" after tData
Devin
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution