[Catalyst] Need HTML Widget And Validation Assist

Roderick A. Anderson raanders at acm.org
Mon Apr 17 19:15:17 CEST 2006


dennis wrote:
> Read the docs, coded, recoded...
> Hours later.....
> OK, I admit, my brain is on strike. I am doing something wrong but haven't 
> found it yet. I am trying to validate data and redisplay the data in same 
> form.

Not to fly too much in the face of the experts ( and I haven't read 
their replies in depth ) but the first thing that popped up for me was 
the <input /> tag with a type of "textfield".  Is this a 
Catalyst/Template thingy I've never seem before?  Shouldn't it be 
type="text"?

> My simple template:
> <form method="post" id="quote_edit" action="/quote/edit">
> <h3>Type Your Quote Here</h3>
> <textarea name="quote" cols="60" rows="3" wrap="soft"></textarea>
> <h3>Author</h3>
> <input type="textfield" name="author" size="60">
> <input type="submit" value="OK">
> </form>
> 

<snip />


Rod
-- 



More information about the Catalyst mailing list