>
> The proper code I come up with :
>
> {{{
>             for input_elem in form.elements("input[]"):
>                 if input_elem.attributes['_type']=='text':
>                         input_elem["_placeholder"] = YOURPLACEHOLDERTEXT
> }}}
>
>
Why not just form.elements('input[type=text]') or form.elements('input', 
_type='text')?

Anthony

-- 



Reply via email to