Change output textfield based on input checkboxes
Good afternoon,
I have a text field which should standard show the text “Permanent Architecture” if none of the checkboxes are checked. There are 4 checkboxes, 10 Y, 12 Y, 15 Y and 20 Y. These checkboxes are set up in a way that the user only can check one checkbox at a time. So based on which checkbox is checked (or if none is checked), the text in my text field should change like the following:
10 Y – If this checkbox is checked the text should change to “Permanent Architecture 10 Years”
12 Y - If this checkbox is checked the text should change to “Permanent Architecture 12 Years”
15 Y - If this checkbox is checked the text should change to “Permanent Architecture 15 Years”
20 Y - If this checkbox is checked the text should change to “Permanent Architecture 20 Years”
I assume this probably should be coded in Javascript. But since I don’t have any experience with Javascript, I hope that someone is willing to help me with this?
Thank you in advance.
