Quickform labels

From: Date: Mon, 21 Apr 2003 15:25:27 +0000
Subject: Quickform labels
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-15272@lists.php.net to get a copy of this message
I'm working on allowing users to define an element's label as an array of labels, but I'm having difficulty working out how to make it work for the default renderer (I'm starting there, since I'm most familier with it). My current thought is to add a block like this: <!-- BEGIN labels -->{labels}<!-- END labels --> to the element template, and just add any extra labels as one big block, but then it could also be done: <!-- BEGIN label1 -->{label1}<!-- END label1 --> ... <!-- BEGIN labeln -->{labeln}<!-- END labeln --> Which would allow the user to decide where to place each label... I'm not sure really weather or not I should spend much time on the default renderer, or if we should just say that if you want custom placement of extra labels, you need to create a renderer for it. Also if someone who's used the IT renderers could point me in the right direction I'd appreciate it, since I don't use IT here. Jon

« previous php.pear.dev (#15272) next »