Popup for required fields

629 views
Skip to first unread message

ciche...@fater.it

unread,
Jan 13, 2014, 11:42:27 AM1/13/14
to suppor...@runmyprocess.com
Is it possible to have a more visible warning for a required field in a Web Interface.

That is: is it possible to pop up a windows message for a required field not filled ?

Thank you,
Luigi

Dimitri MELCHIOR Pro

unread,
Jan 13, 2014, 11:57:20 AM1/13/14
to RunMyProcess Support Forum
Hi Luigi,

Admitting you are in a "Launch" screen of a web interface and you want your user to be poped up if a required field has not been filled up, so you must inject a prelaunch script for the button scripting :

if(RMPApplication.validate()){
true; /*I effectively launch the process*/
}
else{
alert("Some required fields have not been filled up correctly. Please advice.");
falde /* I do not launch the process*/
}

Other hand, there is a method to get all fields that have not been filled up correctly you can inspire with to :

  • RMPWidgets.forEachWidget(function): this function calls a javascript function for each widget of web page. Ex : function showType(widget) {try {if(!widget.isValid()) {alert(widget.getName());}} catch(err){}} RMPWidgets.forEachWidget(showType);

Best regards.


--

Dimitri MELCHIOR

PreSales Consultant

     

Fujitsu RunMyProcess user? Please add a review on GoogleApps Marketplace

Afin de contribuer au respect de l'environnement, merci de n'imprimer ce message qu'en cas de nécessité.
Be environmentally friendly: do not print this email unless it is entirely necessary.



--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/f651530f-2008-451a-b50d-791089ad7b61%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages