value problem in textarea and input
Dear All, I am having problem when using <input> and <textarea> <input type="text" name="summary" size="40" value="#" tal:attributes="value here/summary|nothing" /> when i submitted the form and loaded it back the summary shown in the input tag, may be because "value" is part of input attributes. <textarea name="summary" size="40" tal:attributes="value here/summary|nothing"> </textarea> But when I use the textarea tag as above, submitted the form and loaded it back the summary was not showing. Thanks. Kamal
--On 3. Oktober 2007 16:57:20 +0100 kamal hamzat <hamzat@dnetsystems.net> wrote:
<textarea name="summary" size="40" tal:attributes="value here/summary|nothing"> </textarea>
Please read the basic HTML documentation about HTML forms. <textarea> does not store the content as attribute but as content within the <textarea>...</textarea>. That's why you have to use tal:content -aj
participants (2)
-
Andreas Jung -
kamal hamzat