[albatross-users] al-input type="image" with variable src
Andrew McNamara
andrewm at object-craft.com.au
Wed Feb 25 09:34:18 EST 2004
>> <al-input
>> type="image"
>> src="<al-value expr="foo(3,4)"/>"
>> name="button-at"
>> value="3,4" />
>
>This will work, but you'll need to use <input, not <al-input as
>albatross doesn't do nested tags inside of tag args. You'll loose the
>form recorded hook, but it's really not needed for an image or submit.
However, if you've mixed <al-input> and <input> on the same page, the
submitted form will have a hidden __albform__ field - this will cause
the <input> fields to be suppressed (this is a simple security measure
to prevent users spoofing fields).
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
More information about the Albatross-users
mailing list