Question
Is there a way to show a value from the list of values available for a dropdown as a default value for it (dropdown)
Is there a way to show a value from a list of values(excluding the first value in the list) available for a dropdown as a default value for it (dropdown).
Lets say a dropdown is going to have a list of values a, b and c, Is there a way to show b as the default value for the dropdown rather than the first value in the list (a)
***Updated by Moderator: Marissa to remove the #helpme group tag. Apologies this should not have been an end-user option. Updated categories***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Hi,
we can use OOTB functions pxGetPropertyValue, getPropertyValue to show a default value if your source is Datapage/Clipboard page/Report Definition.
If you are using any one of the above sources and if you know the value/index of pagelist upfront before rendering the section where this dropdown is referenced, you can acheive it by using OOTB functions.
This might be a good starting point to work on to acheive your requirement. Although you may need to refer other funtions inside the pxGetPropertyValue/getPropertyValue functions to acheive your requirement.
let me know, if you need any help regarding this approach (or) if you figured a better approach (I can also learn).
Regards,
Naveen.