Selectct Box – Autopopulate field when only 1 option is available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 08:27 AM
Hi everyone, how are you?!
I created a catalog item and some variables and checked “NONE” (img1), but when there is only 1 option, I would like the option to be Auto Populated with the only available value (img2).
I created a Client Script, but it is not working (img3):
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 08:53 AM
Your catalog client script is doing DOM manipulation. So try with 'Isolate Script' checked (or setting it to true from list view).
Regards,
Sharad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 09:57 AM
Hi @maroon_byte, how are you?!
I accessed the "catalog_script_client" table and checked "true" (isolate script and Active - img), but that didn't work. ;(
Do you have another suggestion?!
Thanks again