Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Apply only a template to one component on a form
#1
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.
Reply
#2
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.
Reply
#3
(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
Reply
#4
Yes, IWLabel. Thanks for the clarification.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)