daymobrew wrote: Does your web server have PHP or perl CGI capabilities? If so you could do all the processing on the server. If sticking with Javascript, does your book cover regular expressions?
cunnins4 wrote: The line spaces are removed when i use the following: var text=document.forms[0].elements[0].value; var result=text.replace("\n"," "); document.write(result); the user input from the text area is displayed by the browser without any line spaces. But then using the same idea: document.forms[0].elements[0].value=result; doesn't work when i click submit. It doesn't remove the line spaces.
cunnins4 wrote: I've read up loads on PHP and Perl and it's no use.
cunnins4 wrote: When the user clicks submit i receive an email as follows: forename=blah surname=blah gender=blah blah
forename=Bob surname=Simple gender=male text1=This is my simple message it has long lines. And multiple paragraphs.
cunnins4 wrote: My bosses looked over what i've done and they've decided that the form isn't user friendly enough because the textareas aren't rich text-users need to be able to use bold/italics/indent etc....so that basically ends my little project! Ah well. I'm just wasting time putting in loads of popups and alerts all over the place on the original part of the form now. they're gonna use that part to capture the most important info and have the applicants submit a hard copy of the rest of the form.
cunnins4 wrote: Oh, and is it possible to have bold text in an alert box?
cunnins4 wrote: Feckin difficult to get done on an online form, especially by a summer temp who knows zipp about html and the rest.
daymobrew wrote: Is this a Civil Service workplace .
daymobrew wrote: giving a difficult task to someone who doesn't have the appropriate experience? (this is not a dig at you but rather at management) You have my sympathy.
This took me 3-4 days, and others chipped in. This also lead to duplicate entries
better gender balance in interviews
Bluefrog wrote: Any problems, PM me.