zkrahn
Forum Replies Created
-
Hello @wpmudev-support9, thank you for your help!
I should be able to figure it out from a general solution(all I’d really need is the JS function to call), but here’s a pastebin for my form: https://pastebin.com/aftscJWP
Thanks again, looking forward to hearing from you!
Hello @wpmudevsupport14,
Thank you so much for your very quick reply. I have added the above code(though to my functions.php rather than as a mu-plugin), and it works perfectly!
I will be watching for the next update so I can see when I can remove this code. But would you also be able to reply to this thread so I’m made aware, or is there any other way to be automatically notified?
Again, thanks so much for always being so quick to reply to support threads!
Thanks so much, this worked!
Now I’m also wondering if it’s also possible to add custom form options, perhaps either accessed through the $custom_form variable, or retrieved through the forms ID? Although this is quite a different subject from what I originally asked, so I could make a separate post for it if you’d like.
The reason is that how I would currently have it set up is to simply check for a specific form ID, and then if it’s a match I run some code. It would be nice, however, to have the admins be able to easily select an option for any form to have the code run, and this would make it much more flexible and maintainable.
Thanks again so much for the excellent support!