Field listener

Jim Ault JimAultWins at
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> 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!
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:

More information about the Use-livecode mailing list