I need a solution to do the following
1.User pastes some text into a textarea
2.User clicks a button "Autofill"
3.On press of the button, the various lines of the pasted text are put into the appropriatly named form fields.
Here is an example of how the pasted text is formatted:
First Name Jimberly
Last Name Hagg
I've started work on this project here:
Any help/guidance (including coding examples) would be appreciated!
(By the way my jquery to disable the "Continue" button is buggy - it enables the button if you enter some text into one of the forms, but then if you delete it, this isn't noticed by the function and it still keeps the "Continue" button enabled)