Hello Nigel,
Accessing the selected value of your 'dropdownlist' input field in the described scenarios can be achieved as follows:
a). To access the selected value of 'dropdownlist' in the same input form F from another referral input field, you can use JavaScript. Assuming you want to update another input field with the selected value:
// Get the dropdownlist element
var dropdownlist = document.querySelector("input[name='dropdownlist']");
// Get the selected value
var selectedValue = dropdownlist.value;
// Now you can use the 'selectedValue' to update another input field or perform any other action.
b). To access the selected value of 'dropdownlist' from a JavaScript activity, you can use the same approach within your JavaScript code:
// Get the dropdownlist element
var dropdownlist = document.querySelector("input[name='dropdownlist']");
// Get the selected value
var selectedValue = dropdownlist.value;
// You can then use 'selectedValue' within your JavaScript activity as needed.
These code snippets should help you access the selected value from the 'dropdownlist' input field in both scenarios. If you have more specific requirements or need further assistance, please provide additional details. Good day! 🌞👍
Best regards,
David Mitchell