Copy link to clipboard
Copied
Hi All
Hoping someone may be able to assist me
I havent used ColdFusion for several years so somewhat rusty and the foruuums that I used to refer to are mostly not available anymore.
I have a small project where I have been asked to use CF to creat a form to caopture information.
I have been asked to capture information relating to employees in an organisation.
I want to capture their names and employee number - this part is easy and have no problems doing this.
The next part is the tricky part. I want to capture all the previous organisations and positions that the person has worked for in the last 20 years.
For many people this is likely to be just one or two. I do know however that for over 20 people they have worked for 10 plus organisations. So how do I do this?
On the screen I will show fields etc to give the user the opportunity to enter their name and their employee id etc. and then I want to allow them to enter previous organistion and position. I do not wish to show this mulltiple timmes if the person has only worked for one or two organisations. I only want to show that they can enter information for one organisation and then somehow give them the option to enter other organisations / positions
Then once they have entered everything that they want to enter I need to update the database table.
Any hints ideas on how to do this would be greatly appreciated.
Kind regards
Peter Tanswell
Copy link to clipboard
Copied
If you shared some code, it would have been easy to give you feedback. But your description is thorough. So I would suggest that you put that in ChatGPT and ask it to give you the ColdFusion code.