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

Peter Bogdanoff bogdanoff at me.com
Thu Sep 17 23:32:11 EDT 2020


If the field “Src" contains:

<h1>My Trek to Siva<br />
Magical Abodes</h1>

<h3>Join the author on a tour of ancient Siva temples</h3>

then:

	set the htmlText of field "Src" to field "Src"

will show HTML-formatted text.


Peter


> On Sep 17, 2020, at 5:41 PM, Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Ralph,
> 
> So this did not work. I have 
> --------
> [ fld "Src" ]
> 
> <h1>My Trek to Siva<br />
> Magical Abodes</h1>
> 
> <h3>Join the author on a tour of ancient Siva temples</h3>
> ------
> [ fld "Dest" ]
> 
> <h1>My Trek to Siva<br />
> Magical Abodes</h1>
> 
> <h3>Join the author on a tour of ancient Siva temples</h3>
> -------
> It same for both fields. Neither one displays the htmltext text .
> 
> ??
> set the htmltext of fld "checkHTML" to the htmlText of fld "mainText"
> BR
> 
> 
> 
> Ralph DiMola wrote:
> 
>    set the htmltext of fld "Dest" to the htmlText of fld "Src"
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list