PDA

View Full Version : typed characters in edit field stay into the field


ovm
09-01-2003, 05:25 PM
I'm working on 2 multiple choise examination programs now.
1 for the student to answer the questions.
For this, no problems.

2 for the teacher to make, edit or delete questions.
Therefore I use the Edit field in a part of the total view (there must be room for pics).
But when the text is typed, the characters in line do not stay in the field, but disapear on the left side of the field.
Is there a way to keep the characters in the field?


Both programs are very small (using only 3 pages). I'll share them for free when I'm satisfied (that means soon /ubbthreads/images/icons/smile.gif ).

Corey
09-01-2003, 05:33 PM
Hi Mario, do you mean "word wrap"? BTW maybe allowing the teachers to just enter the questions as a text file might work... Using a web form for entry is also an option, I can show you how to do this if you like...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

ovm
09-01-2003, 05:43 PM
Corey,

yes I mean word wrap. So all the text stays in the field during typing.
But what do you mean with "enter the questions as a text file".
To use Notepad for instance?
If so, that is not my purpose.
They must enter the text within the aplication....

gr. Mario

ovm
09-01-2003, 05:45 PM
Hmm, I'm very interesting in the webform......

Corey
09-01-2003, 06:11 PM
OK try this out http://www.indigorose.com/temp_web/webform.zip

I didn't spend any time on it so you can't use + in your text but that could very easily be worked around by doing a replace action to replace ++ with +~ before replacing + with a space and then you could simply replace ~ with + again... Very easy to work around special character issues like this...

Nice thing about this technique is that it allows you to seamlessly integrate standard HTML and/or javascript components such as drop down menus, word wrapped input fields, radio buttons, checkboxes, etc. right into your AMS projects.

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

ovm
09-02-2003, 12:09 AM
Thanx Corey!

I think I can use this!


gr. Mario

Corey
09-02-2003, 12:13 AM
Cool. /ubbthreads/images/icons/smile.gif

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)