[Solar-talk] Form Element of Displayed Text
Dmytro Konstantinov
umka.dk at gmail.com
Wed Apr 30 16:46:10 CDT 2008
Hi James,
I'm not exactly sure that this is what you are after but in any case
if you are talking about forms than this idea is worth checking out! I
have to admit, I haven't tried this yet and I haven't spoken to
Rodrigo about it either ... though I do really like his suggestion and
I will give it a go in the near future! :)
Here is the original submission:
http://mailman-mail3.webfaction.com/pipermail/solar-talk/2008-February/003470.html
And there is also a brainstorm / example available at:
http://solarphp.net/brainstorm:form_api
Hope you find it useful!
Dima
On 30 Apr 2008, at 21:40, Kilbride, James P. wrote:
> I'm looking to add an element to my solar_form that is text/links
> which is based on the last elements that the are set in the form
> already. Basically I want to conditionally want a link added into
> the form at a specific point if some value is true. I can't find any
> element types though that support that kind of thing. Is there an
> element that is just a 'html/text' field that i could set and put my
> text into? Something like:
>
> $this->myForm->setElement('MyDisplayedText', array(
> 'type' => 'label',
> 'label' => 'whatever I want above it',
> 'value' => 'my super special stuff which may even be an href or
> link.',
> )
> );
>
>
> Thanks folks.
> _______________________________________________
> Solar-talk mailing list
> Solar-talk at lists.solarphp.com
> http://mailman-mail3.webfaction.com/listinfo/solar-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman-mail3.webfaction.com/pipermail/solar-talk/attachments/20080430/6cfa4036/attachment.html
More information about the Solar-talk
mailing list