Re: WebDB>Form>before processing the form, question

From: <actiris_at_loxinfo.co.th>
Date: Wed, 19 Apr 2000 22:08:08 +0700
Message-ID: <38FDCBD8.1F47074F_at_loxinfo.co.th>


Write a Java Script in:
WebDB, Shared components, Java Scripts
enter

function JS_AreYouSure()
{

    if (confirm ("Are you sure?"))
    {

         // yes
        return true

    }
    else
    {
       // no
       return false

    }
}

In your Form
Argument Formatting and Validation
select one Mandaratory Colum and
select in "From Validate" the created Java Script.

Marcos Leija wrote:

> After a user presses the submit button, I would like my form to alert
> the user:
> "Are you sure?" CONTINUE CANCEL
> If the user presses CONTINUE, WebDB would process the form.
> If the user presses CANCEL, WebDB the alert box would go away and wait
> for more form changes.
> Anyone know how to insert this feature?
> ...or any other method to do this?
> Marcos
Received on Wed Apr 19 2000 - 17:08:08 CEST

Original text of this message