Apply only a template to one component on a form

<< Click to Display Table of Contents >>

Navigation:  Forum >

Apply only a template to one component on a form

Forum link

 


 

12-22-2020, 11:47 AM:

 

Hi All,

 

Is it possible to apply a template to just one component on a form?

 

Like to an IWText component:

 

<div id="Textelement">

 

  <p>some text</p>

 

  <ul>

 

    <li>Item 1</li>

 

    <li>Item 2</li>

 

    <li>Item 3</li>

 

  </ul>

 

  <p>Some text here</p>

 

</div>

 

The rest on the form should remain intact.

 


 

12-22-2020, 07:43 PM:

 

If you just want to output snippets of HTML, set the .RawText property to true and then just put that HTML int he Caption property.

 


 

12-22-2020, 10:40 PM:

 

(12-22-2020, 07:43 PM)kudzu Wrote: [ -> ]If you just want to output snippets of HTML, set the .RawText property to true and then just put that HTML int he Caption property.

 

I think Chad is talking about an IWLabel here.  Set .RawText to true and .Caption is for html you want passed without change.

 

I haven't tried with with IWEdit, could be that passes a result back.

 

Dan

 


 

12-23-2020, 03:24 PM:

 

Yes, IWLabel. Thanks for the clarification.