On an online form i want to give my user the option to either copy-paste text into a text box... or have the option to upload a file from a directory on their computer.
So far i've mainly been dealing with text box:
# Feed in data from text box on web-form
$dna1 = $query->param('dna-textbox');
i'm just wondering.. at the front end of my script how i'd go about making it more versatile to also accept file upload.
$dna1 = $query->param('dna-textbox'); ELSE $query->param('fileupload')