Set cross-site lookup with single value if only 1 option
Hello,
How can I set a cross-site lookup with single value on the first option when it's the only one available?
Thank you,
Daniël Pharazijn
IT Stedelijk Onderwijs Antwerp
How can I set a cross-site lookup with single value on the first option when it's the only one available?
Thank you,
Daniël Pharazijn
IT Stedelijk Onderwijs Antwerp
Thank you,
Daniël Pharazijn | IT-department | AG Stedelijk Onderwijs Antwerp Belgium
Daniël Pharazijn | IT-department | AG Stedelijk Onderwijs Antwerp Belgium
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Hello, Daniël!
Cross-site Lookup is designed in a way to make it less performance heavy, so it only loads values when you click on it. One option you have in this scenario is to make a JavaScript request to the same list, with the same parameters, and see how many results it returns, then if it's just one, set this item automatically.
But that's really extensive! It's generally much easier for the user to simply press Enter after opening the dropdown.
Cross-site Lookup is designed in a way to make it less performance heavy, so it only loads values when you click on it. One option you have in this scenario is to make a JavaScript request to the same list, with the same parameters, and see how many results it returns, then if it's just one, set this item automatically.
But that's really extensive! It's generally much easier for the user to simply press Enter after opening the dropdown.
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 14 guests