• Welcome to Simple Machines Community Forum. Please login or sign up.
October 26, 2021, 10:43:31 AM

News:

Check out the SMF Function DB!


New Button menu script

Started by GeneralMitch, June 08, 2017, 07:51:38 PM

Previous topic - Next topic

GeneralMitch

Hey guys Im having an Issue I went into SUBS.PHP to create a new menu button on my form cause custom action wouldnt let me  add a script.  So I made the button and it appears and everything but since I dont know how to add a script to the button when u click it it just goes back to forum menu. How do I add a script to the button?
-GeneralMitch


GeneralMitch

Im  linking a  FORM from typeforms  and it has options to "launch in a pop up"  So The "SCRIPT " it gives me needs to be run when I click the button instead of like a URL
-GeneralMitch

GeneralMitch

With custom action I can get to this   part

https://gyazo.com/be0554eb8af011c32a85abbff2ee013f [nofollow]

But I want to not have to click the white button I want when I click the button the first time it launches the pop up
-GeneralMitch

Advertisement: