Field listener

Jim Ault JimAultWins at yahoo.com
Sun Sep 10 14:06:50 EDT 2006


Use 'on closefield' handler in the field of the text entry, then have that
handler call the 'submit' handler

Jim Ault
Las Vegas


On 9/10/06 9:17 AM, "Trevor Hopkins" <tjhopkins224 at hotmail.com> wrote:

> I'm trying to build a form whose "submit" button only becomes enabled after
> text is present in a specific field (and likewise when that field is blank,
> the "submit" button returns to disabled status). Does anyone know of a
> painless way to do this? I'd also like the user to be able to hit return
> from within that field and have the "submit" button entered. Right now, it
> seems, the return key must be hit twice in order to first exit the field and
> then select "submit".
> 
> Many thanks,
> 
> Trevor Hopkins
> Exeter, UK
> 
> _________________________________________________________________
> Windows Live™ Messenger has arrived. Click here to download it for free!
> http://imagine-msn.com/messenger/launch80/?locale=en-gb
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list