Add url link on a Question of the variable field in the service request item

Danny Sun
Tera Guru

Hi All,

When we upgraded the version to Jakarta Patch 4, some of the catalog request item could not work. When we click the 'Order Now', it will show the message as below. I checked that we used some HTML codes in some variables of the Question filed. Such as: Security Policies (<a href="https://xxxxxx.xxx.com" target="_blank"><font color="blue">IT Security Policies</font></a>)

find_real_file.png

Do you have any suggestions on this? I shall be very grateful.

Best Regards,

Danny

1 ACCEPTED SOLUTION

Danny Sun
Tera Guru

Hi all,

 

We finally use the 'Show help' to fix this. Move the link to the Instructions of the Annotation.

 

Regards,

Danny

View solution in original post

7 REPLIES 7

Hi Shiladitya,



It still can not work. I submitted a ticket with SN HI, they said that: In Jakarta, HTML not being rendered in the affected variable is working as expected.



So I tried to use UI Page to work on this, see as below:



<?xml version="1.0" encoding="utf-8" ?>


<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">


<g:ui_checkbox name="it_security_policies"/>I have read and will abide by the IT Security Policies (<a href='https://XXXXXXXXXX' style="color:blue" value="${false}">IT Security Policies</a>)


</j:jelly>



but when I submit the request, it seems that the value of the checkbox could not be saved.



Could you have any suggestions on this?



Regards,


Danny





Danny Sun
Tera Guru

Hi all,

 

We finally use the 'Show help' to fix this. Move the link to the Instructions of the Annotation.

 

Regards,

Danny