Hi, I want a webpage with a javascript based form that shows particular pre-defined text whenever certain checkboxes are selected. The idea is for a user to be able to create a whole body of custom text at the bottom of the webpage that they can copy and paste into a word document based on which checkboxes they select.
e.g. Item
checkbox 1 – apple
checkbox 2 – orange
checkbox 3 – banana
checkbox 4 – pineapple
if checkbox 1, 3 and 4 are selected, the following text in a number list appears at the bottom of the webpage:
Task 1 – apple
Task 2 – banana
Task 3 – pineapple
Deliverable 1 – description of apple
Deliverable 2 – description of banana
Deliverable 3 – description of pineapple
The description of each item is predefined and not viewable until that particular checkbox is selected. The deliverable number is automatically generated based on the number of checkboxes selected and not the actual checkbox number.
The auto-generated text has the option to be overwritten inline on the fly in the webpage.