Gossamer Forum
Home : Products : Links 2.0 : Customization :

Display problem on add_error and modify_error

Quote Reply
Display problem on add_error and modify_error
I've tried to search for the answer to this problem, but haven't discovered one in the forums. Perhaps I'm not using the right search terms, but have decided to post this issue:

I have changed the add and modify templates (along with links.def) to include several multi-line text fields. If the user is presented with the add_error or modify_error screens due to some error they've made, the multi-line text fields don't repopulate. The single line fields repopulate just fine.

All I see in the multi-line fields of the error pages is the value expression (i.e. <%Short Description%> ) from the input tag.

Can anyone point me to the solution? Thanks.

cosmic
Quote Reply
Re: Display problem on add_error and modify_error In reply to
If you mean "textbox" for the "multi-line" input field, then you need to use the following codes:

Code:
<textarea wrap="virtual" name="ShortDescription" value rows="3" cols="42" maxlength="
250"><%ShortDescription%></textarea>

in your add_error.html and modify_error.html files.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.
Quote Reply
Re: Display problem on add_error and modify_error In reply to
Hey Eliot--

I got it to work using your instructions. Thanks a bunch.

I had <%Short Description%> in quotes in the value part of the statement instead of between the <textarea> and </textarea> tags.

cosmic
Quote Reply
Re: Display problem on add_error and modify_error In reply to
Good...glad you got it to work.

You're welcome.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.