I want to create cascading drop down menus, but it is for an Employment Agreement, so there will be more information in some fields than just a few words. I would like it to work so that when you select the Job Title, the next field will give you the option of selecting that title's job description, and the following field will provide the key responsibilities of the role. I watched the YouTube tutorial and have it working correctly as far as options, but because the fields are long and narrow, the information under Job Description and Key Responsibilities is being cut off and is not readable in full.
Is there a way to change the size of the SharePoint Data fields, OR a way to make specific text populate into a Text Area when an option is selected in a SharePoint Data field above it? As opposed to three SharePoint Data fields in a row, could I do a SharePoint Data field for the Job Title, that makes the Job Description and Key Responsibilities populate in a Text Area below it?
Thank you!
This response from AI worked: 2. Alternatively, you can use the "On Change" functionality to populate a text field when a selection is made in the SharePoint drop-down. This would allow you to: - Use a SharePoint drop-down for the Job Title selection - Have the Job Description and Key Responsibilities appear in separate text fields when a title is selected - This gives you more control over the display format and space for the longer text Here's an example of how to set the value of another field when a SharePoint drop-down selection changes:
instance.root.getComponent("otherTextField").setValue('Hello from ' + data.textField)
You would need to modify this code to match your specific form fields and data structure.
This response from AI worked: 2. Alternatively, you can use the "On Change" functionality to populate a text field when a selection is made in the SharePoint drop-down. This would allow you to: - Use a SharePoint drop-down for the Job Title selection - Have the Job Description and Key Responsibilities appear in separate text fields when a title is selected - This gives you more control over the display format and space for the longer text Here's an example of how to set the value of another field when a SharePoint drop-down selection changes:
instance.root.getComponent("otherTextField").setValue('Hello from ' + data.textField)
You would need to modify this code to match your specific form fields and data structure.