On my survey, I am making statements where the person will choose from answers such as:
Agree
Don't Agree
But when I enter anything with an apostrophe, such as "Don't Agree", it truncates the answer and adds a couple of backslashes. So on the form1.html page, it gets displayed as "Don\\" And on the actual results page it will display the answer with four backslashes...i.e. "Don\\\\"
Are you aware of this bug and is there a fix for it? Thanks in advance. This is a great program.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That not a bug, its a side effect rather. As I have mentioned again and again (and again!) "DONT USE SPECIAL CHARACTERS FOR FIELD NAMES". Its right there in the instructions. You are only to use letters, numeric digits, underscores and whitespaces. All the text decoration needs to be done "after" you generate the form. You can edit form1.html and have it the way you like.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-02-24
sorry for not seeing these instructions(that state no special characters). where exactly is that?
also i realize that no special characters are allowed in the 'Field Name' field and that you have built in error checking to make sure people do not enter special characters. i didn't realize the same thing applied to 'Option' fields as well, since there was no error checking built into checking the 'Option fields'. I guess I'll tweak with the code and if I can't figure it out, I'll take your advice and do any text decoration after the form is generated. thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On my survey, I am making statements where the person will choose from answers such as:
Agree
Don't Agree
But when I enter anything with an apostrophe, such as "Don't Agree", it truncates the answer and adds a couple of backslashes. So on the form1.html page, it gets displayed as "Don\\" And on the actual results page it will display the answer with four backslashes...i.e. "Don\\\\"
Are you aware of this bug and is there a fix for it? Thanks in advance. This is a great program.
That not a bug, its a side effect rather. As I have mentioned again and again (and again!) "DONT USE SPECIAL CHARACTERS FOR FIELD NAMES". Its right there in the instructions. You are only to use letters, numeric digits, underscores and whitespaces. All the text decoration needs to be done "after" you generate the form. You can edit form1.html and have it the way you like.
sorry for not seeing these instructions(that state no special characters). where exactly is that?
also i realize that no special characters are allowed in the 'Field Name' field and that you have built in error checking to make sure people do not enter special characters. i didn't realize the same thing applied to 'Option' fields as well, since there was no error checking built into checking the 'Option fields'. I guess I'll tweak with the code and if I can't figure it out, I'll take your advice and do any text decoration after the form is generated. thanks.