Question

prompt

Hi Team



After Filled the Total Experience value  Prompt has to shown for example please save the Record.



For that Which Process, I have to follow.



Hoping for a positive reply.



Regards

manikanta.

Like 0

Like

5 comments

Hi Manikanta

What I understand you want to prompt the user on updated of Total experience value. If yes then you can use client side java script in Edit page. In attribute add an attribute with dependencies and method to be called. Let me know if this helps and you are good in writing java script.

Regards

Waseem

Hi Waseem Ishaq

Please check the following code once for the Total Experience I have validation like these it's working but I don't know after fill in how to show the prompt hoping for a positive reply.so please help me with sample one.

Here is the validation for total experience:

                Totalexperience: function(value) {

                // Variable for stroing a validation error message.

                    var invalidMessage = "";

                // Variable for stroing the number check result.

                    var isValid = true;

                // Variable for the phone number.

                    var number = value || this.get("UsrExp");

                // Determining the correctness of the number format using a regular expression.

                    isValid = (Ext.isEmpty(number) ||

                    new RegExp(/^\d{2}$/).test(number));

                    // If the format of the number is incorrect, then an error message is filled in.

                    if (!isValid) {

                        invalidMessage = this.get("Resources.Strings.experiencevalidation");

                    }

                    // Object which properties contain validation error messages.

                    // If the validation is successful, empty strings are returned  the object;

                    return {

                        invalidMessage: invalidMessage

                    };

                },

Hi Waseem Ishaq

I got the output Thanq

Now I need dialog box after entering the experienced candidate has to get dialog box.for that which process I have to follow.

hoping for a positive reply

Regards 

manikanta

manikanta,

As offered by Waseem, you can use JavaScript logic to show the dialog box. 

The idea is to add an attribute to the page schema. This attribute indicates changes in what column trigger custom method. Custom method can take values from the page and show it to the user, or simply display text. There is also an Yes||No dialog box. 

The main functions in the system, which are responsible for displaying dialog box are: showInformationDialog() and showConfirmationDialog()

Please see this link for dialog box realization: https://community.bpmonline.com/articles/simple-modalbox#comment-72711

Regards,

Anastasia

Anastasia Botezat,

Tq

Anastasia Botezat

Show all comments