Questions about fields and error checking

Pete pete at mollysrevenge.com
Wed Aug 3 02:55:32 EDT 2011


Hi Mike,
To check the contents of a field, use a closeField handler.  That message is
sent when the user moves out of a field control in any way so you can get
the contents, check them, then put up an error message if there's a problem.

I'm afraid I don't have an answer for you on the password issue but I'm sure
someone else will jump in.


Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Tue, Aug 2, 2011 at 11:30 PM, Admin <admin at mfelkerco.com> wrote:

>
>
> Last one for the night.
>
> If someone enters nothing in a field, how
> do I error trap that?
>
> How do I make fields mandatory? - such that the
> form will not continue until all mandatory fields hold data
>
> If someone
> presses the submit or save button, how do I check to make sure all
> fields are filled in properly?
>
> Sorry guys. I know how to use database
> creation programs, but LiveCode is very manual. Nothing automatic about
> it.
>
> Last one. How do I hide text (or replace it with a bullet point)
> for a password field, but save the text in a special variable that I can
> write to the database? Same goes with reading the password back.
>
> I
> appreciate all the help I can get.
>
> Mike
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>



More information about the use-livecode mailing list