Apply only a template to one component on a form - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: Apply only a template to one component on a form (/thread-2205.html) |
Apply only a template to one component on a form - PeterHer - 12-22-2020 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. RE: Apply only a template to one component on a form - kudzu - 12-22-2020 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. RE: Apply only a template to one component on a form - DanBarclay - 12-22-2020 (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 RE: Apply only a template to one component on a form - kudzu - 12-23-2020 Yes, IWLabel. Thanks for the clarification. |