Skip to main content
Nintex Community Menu Bar
Solved

Client click on save button Office 365 not working

  • Jan 7, 2016 2:48 AM UTC
  • 2 replies
  • 137 views
  • Translate All

Forum|alt.badge.img+5

Hey everyone,

 

I'm trying to get client click on my save button to do something, anything but can't even get it to show an alert. I followed this post: How to call javascript function on Save button click?

 

Here is my button settings:

savebutton.PNG

 

I've tried setting the "Causes validation" to Yes and no.

 

I also tried wrapping the client click like NWF$(document).ready(function(){alert('Save Clicked');});

 

It just does nothing sad.png any ideas?

 

John Luangco​ Chris Ben​

Best answer by Simon Muntz

Hi Rebecca,

In the Client Click you should enter the Function that you want to call.

For example : MyFunction()

Then from the Designer ribbon click Form Settings and in the Custom Javascript section add your function.

function MyFunction(){

     alert("I am an alert box!");

}

I have tested this and found it to be working.

View original

2 replies

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Answer
  • Jan 7, 2016 4:55 AM UTC

Hi Rebecca,

In the Client Click you should enter the Function that you want to call.

For example : MyFunction()

Then from the Designer ribbon click Form Settings and in the Custom Javascript section add your function.

function MyFunction(){

     alert("I am an alert box!");

}

I have tested this and found it to be working.

Translate

Forum|alt.badge.img+5

Yes this worked, I must of been trying it without the () around the function name, some programs do this instead of including it. I also notice that putting code directly in the client click works for a JavaScript button, but obviously not for a save button, strange!

Translate