Skip to main content

How to HTML Literal Control[K2 SmartForm] can interactive in Event Click?

Hi Peanut,


 


I am unsure as to what it is you need assistance with, please can you elaborate a little more on the issue.


 


The way I understand it is that when using smartforms you would like to execute HTML code on a Event click (for example on button click) and then see the result.


This is achievable by doing the following:


1) Create a new item view


2) Add a Text box, data label and a button


3) Configure the text box's text field with some HTML code.


4) Add a rule on the button.


When button is clicked


set data label properties to the text box's text.


 


This will take the html that was entered into the textbox and set the data label to that HTML code which will then be executed and will display what the HTML tells it to.


 


Kind Regards,


Raymond


Reply