- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2018 05:36 AM
Requirement - there should be a custom field in the form that displays numbers os click the particular UI action button have been clicked.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2018 10:52 AM
Hello,
1.Create a field on the form.
2.Create an UI Action on the same form as below.
'IF' condition is for first time click over the form. If we did not provided the same it will return NAN field will be empty when we will click first time. If you do not want to write 'IF' condition then provide default value to the field from data dictionary and write only else part in the function.
Hit Helpful or Correct Answer on the impact of the response.
-Tushar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2018 10:52 AM
Hello,
1.Create a field on the form.
2.Create an UI Action on the same form as below.
'IF' condition is for first time click over the form. If we did not provided the same it will return NAN field will be empty when we will click first time. If you do not want to write 'IF' condition then provide default value to the field from data dictionary and write only else part in the function.
Hit Helpful or Correct Answer on the impact of the response.
-Tushar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2018 10:57 AM
wouldn't you just need one line of code g_form.setValue('u_count', (parsInt(g_form.getValue('u_count'))+1)); if they set the default value of u_count to 0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2018 11:14 PM
soulpancake,
Did you get chance to check the code for the same.
Is it working fine? Do you need more clarification?
Hit Like or Correct on the impact of response.
-Tushar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2018 01:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2018 01:15 AM
Thank You!