Widget to display message

avinashdubey103
Tera Guru

Hi I have a requirement to display a message ;

 

I have created a widget for that :

HTML CODE

<div>
<!-- your widget template -->


<p>Since all of our licenses are currently being used, you will be added to the waiting list.<br>For any related questions, please contact us via email:<br><a href="mailto:Cloud-Learning@docs.com">Cloud-Learning@docs.com</a>or:<br><a href="mailto:LearningServicesComm@docs.com">LearningServicesComm@docs.com</a><br>Thank you!</p>
</div>

 

 

 

How can  add that widget in a variable on the form and show/hide  that variable based on the condition already mentioned???

1 ACCEPTED SOLUTION

Twinkle S
Mega Sage
Mega Sage

Hi avinash,

One way I could think and implement is by selecting rich text label and put html code in text. After that you apply condition to it. Below are the screen shots. 

Let me know if it works.

twinkle4_1-1676285464133.png

 

twinkle4_3-1676286222834.png

 

Regards

Twinkle 

 

 

View solution in original post

2 REPLIES 2

Alexis S1
Tera Contributor

Hello @avinashdubey103 ,

 

You can create a "custom" type variable on your catalog item and specify the name of your widget in the "Type specifications" tab. After, you can use a UI policy to show/hide your variable.

 

Let me know if this helps.

Twinkle S
Mega Sage
Mega Sage

Hi avinash,

One way I could think and implement is by selecting rich text label and put html code in text. After that you apply condition to it. Below are the screen shots. 

Let me know if it works.

twinkle4_1-1676285464133.png

 

twinkle4_3-1676286222834.png

 

Regards

Twinkle