- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 09:08 PM
Hi All,
How to add currency variable for catalog item in service catalog , do you have any idea how to do that ?
field label | type |
|
Preferred phone price | Currency Input | Currency input field. Euro/Pound Symbol |
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 09:26 PM - edited 01-18-2024 09:30 PM
Hello @suha2 ,
As Currency variable type is not present in the catalog item you need to create Single Line text type variable and you need add validations to it by creating onChange Client script.
The below link will help to create onChange client script so, go through below link:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 09:26 PM - edited 01-18-2024 09:30 PM
Hello @suha2 ,
As Currency variable type is not present in the catalog item you need to create Single Line text type variable and you need add validations to it by creating onChange Client script.
The below link will help to create onChange client script so, go through below link:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 09:49 PM
Thank you !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2024 12:31 AM
Hi,
I had try this script in catalog client script but it show me the alert after i enter the currency in the field .do you have any idea how to solve that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2024 12:50 AM
@suha2 ,
If you add a value that is not in the format of '$0.00', then the alert message will be displayed and the value will be cleared.
The alert will not appear if you add the value in the correct format.