[pmwiki-devel] customised input with $InputTags
design5 at softflow.co.uk
Fri Dec 15 13:04:00 CST 2006
Friday, December 15, 2006, 3:32:57 PM, Patrick wrote:
>> $InputTags['text'][':html'] = "<input type='text' \$InputFormArgs
>> onfocus=\"prevalue=this.value; this.value=''\"
>> onblur=\"this.value=prevalue\" />";
>> Now if I put this into config.php it will apply to all textline input
>> boxes. But I rather restrict it only to some and not to others.
>> How can I do that? Create two types of input text forms?
> Yes, since they are actually different.
And how is this done? I suppose I can't just define
$InputTags['text2'][':html'] = ....
since text is a keyword for the type of input.
More information about the pmwiki-devel