Validation rule restrict to submit click on pop window

321 views
Skip to first unread message

mukuly...@gmail.com

unread,
May 4, 2017, 2:02:02 AM5/4/17
to Fujitsu RunMyProcess Developer Community
Hi
I have web interface. i applied the validation rule (Required CheckBox Checked ) for all input field. All functionality working fine. i have also custom WI that will be open as pop window on same web interface. When click button on pop-window.its not working its restrict to fill the entry first on web interface then it will work. so it is possible to validation rule applied for only particular button so other button will be working fine. In my case i am using button on pop window.

Thanks & Regards,
Mukul Yadav

Ghanshyam Mule

unread,
May 4, 2017, 8:11:58 AM5/4/17
to suppor...@runmyprocess.com, mukul yadav
Hi Mukul,

You have a check box on main web interface & you have applied validation rule to this widget. 

Until & unless you are filled all entry on web interface, it won't proceed further.

You can use  below java script code (where you have written code for pop window open)

"identifer_checkbox.setRequired(false)"

Please confirm that this will satisfies your requirement.If not share screenshot & configuration related to issue.

Regards,
Ghanshyam Mule
Fujitsu RunMyProcess Support

Gunjan Rajgure

unread,
May 5, 2017, 6:41:03 AM5/5/17
to mukul yadav, suppor...@runmyprocess.com
Hello Mukul,

You can do it by making your main web interface fields/custom widget fields required false on clicking of custom widget button/main interface button. For that, use below javascript code..

1.  To make main Web interface fields required false, you need to write code on custom widget button.
id_of_field_variable.setRequired(false); // This field variables of main web interface. Do same for all fields.

2. To make custom widget fields required false, you need to write code on main web interface button.
id_of_custome_widget.id_of_field_variable.setRequired(false); // This field variables are from custome widget. Do same for all fields.

If you are triggering process on button, then you need to write code inside pre-launch script (exactly below, where you are selecting process to trigger) of button property.
Or if you are using script on button, then you can directly use this code inside.

By doing this, validation rule applied for only particular button so other button will be working fine.

Hope this will helps you. Please feel free to contact with us for any other query.

Thanks & Regards
Gunjan Rajgure
Fujitsu - RunMyProcess Support


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://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/CACo8f%2B2PKWS6JD%2BJE8ZUbk5Kv%3DhgDLrAUsr%2BG2bTj%2BwkELcgCQ%40mail.gmail.com.

Gunjan Rajgure

unread,
May 8, 2017, 3:44:04 PM5/8/17
to mukul yadav, suppor...@runmyprocess.com
Hello Mukul,

Could you please confirm that issue has been clarified?

Please don't hesitate for any further query.

Thanks & Regards
Gunjan Rajgure
Fujitsu - RunMyProcess Support

Prachi Chandak

unread,
May 12, 2017, 12:23:30 PM5/12/17
to Fujitsu RunMyProcess Developer Community, mukul yadav
Hello Mukul,

Could you please confirm that issue has been clarified?

Please don't hesitate for any further query.

Thanks & Regards
Prachi Chandak
Fujitsu - RunMyProcess Support

Gunjan Rajgure

unread,
May 14, 2017, 2:32:29 AM5/14/17
to suppor...@runmyprocess.com, mukul yadav
Hello Mukul,

Awaiting for your response. 
Could you please confirm that issue has been clarified?

Please feel free to contact with us for any other query.

Thanks & Regards
Gunjan Rajgure
Fujitsu - RunMyProcess Support
On Fri, May 12, 2017 at 9:53 PM, Prachi Chandak <pcha...@runmyprocess.com> wrote:
Hello Mukul,

Could you please confirm that issue has been clarified?

Please don't hesitate for any further query.

Thanks & Regards
Prachi Chandak
Fujitsu - RunMyProcess Support

mukuly...@gmail.com

unread,
May 15, 2017, 8:36:43 AM5/15/17
to Fujitsu RunMyProcess Developer Community, mukuly...@gmail.com
Hello Gunjan,

Thank you so much for your guidance.its very helpful to me and its works.

Reply all
Reply to author
Forward
0 new messages