JimAultWins at yahoo.com
Sun Sep 10 14:16:55 EDT 2006
Now that I have time for a more detailed answer, the key lies in how you use
the 'closefield' handler of the text entry field.
It is possible to :
if me is empty then
set a flag 'IamEmpty' to true
set the Submit button to diabled state
---or simpler for the programmer
--less user friendly
if fld textEntry is empty then
set me to diaabled state
answer "Nothing to submit"
do the submit tasks
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!
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
More information about the Use-livecode