anthonycollini1
Forum Replies Created
-
Any update on this?
The “Solutions” fix the error message, but don’t actually allow changes to be published.
Looking for an alternative solution, or will be removing your plugin shortly.
Thanks Scott! I really appreciate it!
Oh, sorry.
My employer bought the pro version (I think in the hopes it would allow for more input fields) and asked me to take a look and see if I could figure out how to add them.
I am more of a digital marketer who dabbles in coding rather than a full stack developer so I’ll just let them know to go with a different plugin.
I sincerely appreciate your help. Like I said I don’t really know what I’m doing enough to create my own plugin.
So I tried adding that to the ajax.php file, and it does not work.
For some reason I am not getting the value of the input field.
I used:
$fName = ( !empty( $_GET['fName'] ) ? $_GET['fName'] : 'EMPTY' ); $lName = $_GET['lName']; $state = $_GET['state'];and I always get ‘EMPTY’ for $fName and nothing for $lName and $state.
I tried to send the values via the frontend.js file by using this:holler.sendMsg = function( email, name, fName, lName, state, msg, id, title ) { holler.showSpinner( id ); $.ajax({ method: "GET", url: window.hollerVars.ajaxurl, data: { email: email, fName: fName, lName: lName, state: state, name: name, id: id, msg: msg, action: 'hwp_send_email', nonce: window.hollerVars.hwpNonce, title: title } }) .done(function(msg) {but it does not work.
Thank you for your quick response. Which file should I add that to? Should it go in the ajax.php file?
Thanks again for your help!