
Message positioning value in pixels from left margin. Message positioning value in pixels from top margin. This option works only if the "button" property is enabled. If there is redirecting enabled, the application will be redirected after closing the message.īutton label. This button default function is to close the message. This property works only if "button" property is not enabled. If this property is not informed, the message will be shown indefinitely. Table2: Message Parameters String Propertyįlag to define if the message will be shown in modal

The properties for this parameter must be informed in this format: parameter=value parameter=value.Įx.: customer_id=ALFKI customer_name=ALBERT FRANCINET This parameter works only if a "redir" property was informed. In this section is possible to define values for the redirecting target application. Messagebox title, if this parameter is empty, the title will not be shown.Įx.: modal=Y&button=Y&button_label=Ok&redir=form_employees.php&redir_target=_blankįor more details about this parameter, see Table2. This macro is only valid in applications with AJAX support. This macro allows the application to display customizable messages, with its use restricted to the form / control events. Sc_ajax_message (message, title, params, params_redir ) Note that we use the macro sc_ajax_message
VALIDATION SCRIPTCASE CODE
Step 3 : You will bring up a screen to put the code in AJAX onChange event, show an example code for validation amount of products available in stock right now. Step 2: Now we will choose which field will be used for validation and which event he will be fired Step 1 : Create a simple form, choose the table and we will in the configuration and AJAX Events

In this example we will create a form using validation in AJAX Scriptcase event.
