Validate Regex in Client Script that calls function from Script Include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 05:03 AM
Hi,
I have created a Client Script to validate input information. But I would like to be able to put a Regular expression in a Script Include so that I can call the function and use it in the Client.
Does anyone know how to do it and guide me.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 05:09 AM
Hi @Chronos,
I found one community post which has a similar question
I hope this helps!
Regards,
Hemant
**Please mark my answer correct or helpful based on the impact**
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 06:03 PM
Hi, @Hemant Goldar
Maybe you misunderstood my problem, I made it in Client Script and now want to convert it into Script Include and call the function in Client again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2023 01:16 AM
Hi @Chronos ,
Then you can simply call it as we call script include using GlideAjax syntax and pass the required parameter if any.