Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Run a procedure on button click (2)

Questions related to using nuBuilder Forte.
Post Reply
Timo
Posts: 217
Joined: Thu Mar 15, 2018 9:26 pm
Has thanked: 1 time

Run a procedure on button click (2)

Unread post by Timo »

I'm sorry that I have to open a new topic but the previous one has been locked. I'm still a little confused how to make this work. I got this run button to call a php procedure and don't see the launch form upon clicking the button. Now there is a nuGetPHP function. How to add it to the run button?
btnprop.png
You do not have the required permissions to view the files attached to this post.
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Run a procedure on button click (2)

Unread post by toms »

Timo,

Obviously, you cannot run a procedure and show a launch form with "Run" (limitation)

Instead, add an input object (type button). Under "custom code", add an onclick handler and add this js:

Code: Select all

 nuGetPHP('5a543df52a0b944','5ad57cfdcb21bc8');
(replace with your ids).
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Run a procedure on button click (2)

Unread post by admin »

.
Post Reply