Is there a script that will duplicate each line of a multi-line form field into another form?
Hello everybody, emergency physician here trying to help our hospital and decrease our nurse workload:
Within the same document, I am currently trying to know if there is a way to copy each single line of a multiline text ("Prescription" field) to another field (1st line to "FADM1", 2nd line to "FADM2", 3rd line to "FADM3", etc. up to FADM8).
For instance:
In the ''Prescription'' field, I would write :
Tylenol xxx
Naproxen xxx
Morphine xxx
And would like for Tylenol xxx to appear as FADM1, Naproxen xxx as FADM2 and morphine xxx as FADM 3, so on and so fort until FADM 8.
Do you know if it is possible via Javascript or another way?
Thanks
JS

