Writing a slightly longer response, but one hurdle in using dropdowns
(standard weblocks dropdowns, rather) is that it uses a form, and
forms cannot be embedded inside other forms... my solution (more in
followup post) to this problem (dynamically adding fields) therefore
had to use javascript.

Also, iirc Harag was adding various html events (onchange, onblur etc)
to the standard render-input-field ... this may be useful to your
purpose.

On Jan 12, 12:30 am, Andrea Russo <[email protected]> wrote:
> Hi all,
>
> I'm trying to add to the dropdown presentation the possibility to modify
> the state of other fields on the same view, because I need to change
> some dropdown selectable value list on the base of another dropdown
> selected value.
>
> I started to modify the sources of weblocks itself, in the hope to offer
> something useful to the community but now I'm stuck with some lame
> half-implementation.
>
> I don't have a good understanding of the weblocks "internals", so,
> before I continue wasting my time applying lame changes to weblocks, I
> would like to have some suggestions from the wise members of the
> community on how to proceed.
>
> Just to give an idea of my approach I attached here my unfinished
> changes.
>
> I would like to know if there is a better approach (or more general,
> since this functionality may be needed for almost all type of
> presentation) or if I should continue the way I have chosen, and, in
> this case, I'd like to have some suggestions on how to proceed :-)
>
> Any help would be much appreciated.
>
> Best regards,
> Andrea.
>
> --
> Reclama i tuoi diritti digitali, elimina il DRM.  Approfondisci 
> suhttp://www.no1984.org
> Reclaim your digital rights, eliminate DRM.  Learn more 
> athttp://www.defectivebydesign.org/what_is_drm
>
>  dropdown-on-change.diff
> 4KViewDownload
-- 
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en.


Reply via email to