The cookbook (bottom of the Forms page) describes how to add static attributes to a form field. Is there a way to do the same thing with dynamic attributes?

For example, say I have a bunch of <select> and I want to put an "onchange" tag on each of them with some dynamically-generated JavaScript code.

<!--V 'FORM:SELECT:foo'-->onchange="[[[SOMETHING]]]"<!--/V-->

I can't use another <!--V--> because RIFE doesn't allow nested values. I tried calling setValue("FORM:SELECT:foo", ...) but that doesn't do it.

Obviously I can generate the <select> HTML myself, but then I lose RIFE's nice autogeneration based on my inList constraint and the current value from the bean.

-Steve
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to