- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 08:19 AM
hello
i would like to read the value of the recurring_price field (cat_item) in a client script.
there is a value entered, but i dont get it.
i tried with g_form.getValue('recurring_price') and i read about current..... but the script shows an error when current is used.
kind regards
Oliver
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 08:35 AM
@xlarge74 Ok yeah so it looks like you have this set up as a catalog client script. This is looking for a variable on the catalog item called recurring_price, which doesn't exist.
I will note that you also need to set the value in Recurring price frequency in order to see that value display alongside the price in the widget on the right of the service catalog. To access the value.
What are you trying to do with the recurring price information? If you simply want to display it, just set the frequency and it will display as mentioned above. If you are trying to use the value for manipulation, that will be more complex.
I will note that you can technically access the value at $scope.data.sc_cat_item.recurring_price_subtotal. I found this out by CTRL + right-clicking the price widget, logging $scope.data to console, and combing through the data object.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 08:50 AM
same ... and codecompletion doesnt show getDisplayValue 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 09:01 AM
Are you certain you are using the correct name of the field (recurring_price)? Are you certain that the onLoad is running on the current table?
This docs page suggests that getting the value is in fact possible, so I'm not sure why it's not working for you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 09:21 AM
Is the variable name of Recurring Price "recurring_price". Can you double check to ensure it is the correct variable name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2025 04:00 AM
where else could i find any other name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2025 04:02 AM
maybe this is the wrong way?