Creating an editable currency field in a UI page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2023 04:59 PM
I am attempting to create a currency field in a UI page that is editable. I have been able to create a read only field that shows the currency value but I need the user to be able to edit it. In reviewing the UI macros that start with ui_ it does not seem like that is an option. I did check the ui_input_field macro to see if perhaps there was a style that could be used to indicate a currency field but that did not yield anything useful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-17-2023 08:53 PM
A record would have the default denomination associated with the system locale (in this case the system locale was set as Australia, so records with a value in currency showed AUD), but if a user opened the record and then switched to a different currency type, then the value auto adjusts (due to the currency conversion) and on return to the list, the currency field then presented a little globe/earth icon and you could then switch currency types from the list by clicking the icon (the range of currency types are defined in another system property).
I get the feeling that there is potential for things to get tangled up a bit, or for user to be confused, so perhaps that is why it is locked down out of box.
However, if you still want to go ahead and make it editable, then maybe one of the solutions is to remove the currency type of field from the array of un-editable elements from the System Properties > UI Properties module
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2024 12:39 AM
Hello @Chuck Warner
I have a similar requirement now. How did you solve it?
Thanks,
Elena