Hi
I wonder if somebody can help me, as I'm losing my marbles a bit!!
I'm trying to design a form that allows the user to instruct changes, which could be regarding a number of different things. To select which changes they want to make within the form, I want to give the user a number of check boxes (or a list box) where they can select one or more options, and then depending on what they select, the rows further down the form populate with the required fields.
For example, the check boxes give the options: change name, change date of birth, change address. If you select change name, the rows old name and new name appear, if you select change date of birth, the row date of birth appears, and if you select change address, the rows address line one, address line two, town and postcode appear. If you were to select all three, all of the rows would display etc etc.
To add a complication, I then want to give the user the option of adding multiple types of the same change. So if they selected change address, the rows address line one, address line two, town and postcode appear, with a mechanism of then adding another set of rows address line one, address line two, town and postcode appear immediately underneath if required (ie. if more than one checkbox is selected, the additional rows appear in the relevant section).
My problem is that I haven't a clue how to get this to work. I can kinda get it working to display and hide rows, but cannot for the life of me get the rows to insert in the right place (or without overwriting what's underneath). This was done in an extremely uneloquent manner, and I'm hoping somebody can help me do this in a neat way!!
If you're struggling to visualise the above, let me know and I'll mock something up to demonstrate.
Any help would be greatly greatly appreciated.
C
Bookmarks