Re: al-input type="image" with variable src

Andrew McNamara <[email protected]> Wed, 25 Feb 2004 09:34:18 +1100
Newsgroups gmane.comp.web.albatross.general
Message-ID <[email protected]>
>> <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/