HOw to get htmltext from the field to display in another field

Mark Wieder ahsoftware at sonic.net
Sun Sep 20 11:55:43 EDT 2020


On 9/20/20 7:28 AM, Sannyasin Brahmanathaswami via use-livecode wrote:
> Eureka! So easy, now to get back to the htmlText as per the code
> 
> if the htmlText of field "mainText"  then
>        put the htmlText of field "mainText" into field "mainText"
>     else
>        set the htmlText of field "mainText" to field "mainText"
>    end if
> 
> we wonder how easy it to tell that "if" the clause is telling it is "true"
> 
>   if (set the htmlText of field "mainText" to field "mainText") then
> 
> does not work

if field "mainText" is not empty then

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list