URL Validation
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020 05:56 AM
Hi,
In Catalog Item i have 1 variable.
1. path - single line text
I want to validate only user able to enter data with http.
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020 06:08 AM
Hi Ram,
Since, its for variable you can simply you OOB variable validation regex that comes for URL.
Look for Service Catalog >> Catalog Variables >> Variable Valdiation Regex from application navigator & Then check if an entry exists for URL. If not create one as below.
Regex: (((ftp|http|https):\/\/)|(www\.))([-\w\.\/#$\?=+@&%_:;]+)
Now, go the the variable & then in the Type specification tab select the Regex as created above.