when user enter name and email then a file download on his system ( free ebook ) how this on popup ninja. please guide me.
Hello, Greetings from InkThemes, It would be our pleasure to serve you. Your requirement is possible only through customizing the source code of "PopupNinja" Let me know
Hello, Hope Doing Good, Kindly follow the below step mentioned in the image. Use below code in specific area Code: onclick="downloadEBook()" and Code: function downloadEBook() { function validation() { var name = document.getElementById("name").value; var email = document.getElementById("email").value; var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/; if (name === '' || email === '') { return false; } else if (!(email).match(emailReg)) { return false; } else { return true; } } if (validation()) // Calling validation function { var link = document.createElement('a'); link.href = 'https://bitcoin.org/bitcoin.pdf'; // use realtive url link.download = 'MyToy.jpeg'; document.body.appendChild(link); link.click(); } If you unable to customize code please send your dashboard details at [email protected]. I will forward it to our technical support team they will solve your issue. So send us following information. Website URL : WordPress Dashboard Username : WordPress Dashboard Password : We will check it. Waiting for your reply.
i apply this code but not working... where i upload e-book for subscriber download... i will send you...email