When link is clicked, change checkbox to true on the catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 10:00 PM
Hi ,
Can any one please help to achieve - When link is clicked, change checkbox to true on the catalog item.
I have a form for catalog item , there is a link when the link is not clicked then form should not get submit.
If it is clicked then only user should able to submit the form.
May be we can add a hidden check box , but how to make it true when link is clicked?
Thanks,
Savita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 10:04 PM
Hi @savita Kumari ,
What is happening after the link is clicked?
Possible to share some snips to understand much better.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 10:23 PM
Hi Danish,
If link is clicked , its opening another window to show the document, which is correct but , if link is not clicked and user is submitting the form then it should shows some alert message like
"Please click the hyperlink before submitting the form"
Please note for displaying the link I am using Rich text label
Here is the catalog client script -
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 10:35 PM
Hi @savita Kumari ,
Not sure if it will work or not but u can instead try creating a custom type variable where u can add a widget or macro which will contain ur URL. Then check if u can do a ui poilicy or client script on that variable. or wether u can make it mandatory.
Thanks,
Danish