654 comments found.
I want to embed a form inside a website server which can’t handle PHP. Is it possible to put form processing on another server which can handle PHP, without leaving the frontend user leaving the website?
The form uses AJAX and am not sure if that will work due to cross domain issues and AJAX maybe if you embed the form via an iFrame
does it work with bootstrap 4?
Will test it and let you know
does it work with bootstrap 4?
How can I combine your login page and regular form in the same page? I would like to have in the header section a dropdown with the login fields.
You mean you want to put the login fields on the same page as the form?
Yes, the login fields to the csv admin page in the header section.
copy the login index.php file html and make sure the link to the login form is the right path remember the login has sessions so your entire page has to start with the php session on top
We’re getting loads of spam 5-10 a day, even with the captcha setup. I’ve changed the smartprocess file name to see if this would fix it. Still no luck. Any ideas?
Please email me a link to your form
Any update on this? I emailed you the form 17 hours ago.
I emailed you back 17 hours ago the solution on your hotmail account you didnt see my email?
It was in my spam folder, thanks for emailing me back.
Sorry about that
I guess there is no real fix for it then.
Can you forward me some of the spam mail you are receiving why are your emails going to spam? We are communicating mail to mail and emails are going to spam – that is weird. And also the email you are receiving the span on – just share it as well?
I have SMS api msg91
Do you have their PHP implementation i can test?
Dear sir, how to possibly SMS notification both customer and admin
Thanks for an awesome product, but how do I make the telephone number received thru the smart message a clickable link like the email address. I tried adding the
You can use something like this below inside smartmessage.php
<p>
<a href="tel:'.$telephone.'">
<span>Telephone:</span> '.$telephone.'
</a>
</p>
Please notice that $telephone is your variable for the telephone field and its included twice in that code both surrounded by single quotes and dots
Hello Genetiik
You can use either of these two credentials
Username: elflaire
Password: smart-forms
OR
Username: Envato
Password: codecanyon.net
Check the documentation on how to setup yours
Microsoft is flagging all messages from this form as spam. Is there a way to have them all look like they’re sent from the same email address?
You did not specify which microsoft client you are facing this issue is it Outlook? Most issues like these are usually related to your server so you may have to observe your server activity
Here is a list of possible causes
1 – You’re sending spam
2 – Your IP, or a block of IPs surrounding your IP has been marked as a spam source on one or more blackhole lists
3 – The content of the email is triggering spam filters
4 – The recipient has added you to their blacklist
5 – The recipient didn’t add you to their whitelist
6 – You’re sending a mixed source mail (“setFrom: xyz@example.com”, but sending it from “someotherdomain.net”)
7 – SPF records for your server are misconfigured/not configured at all
8 – Domain keys are misconfigured/not configured at all
Possible solutions – inside smartmessage.php file
1 – Add reply to address
$mail->AddReplyTo( "mailer@blah.com");
2 – Add setFrom address – usually an email address related to your domain
$mail->setFrom("mailer@blah.com");
3 – Check your email headers for the email you received as spam
Hey. I’ve sent numerous messages on the comments page. I can’t get the multi-select checkboxes to work. I’ve added the “[]” to my input name but I don’t know where to put the script—<script>
// age groups multi select
$age = $_POST["age"];
if ($age[0]!=""){
$age_list = implode( ',', $age);
}
</script>
I’ve tried to put it in the header, bottom of the index file, the smart-forms.js file, the smartprocess.php file… and nothing works. I won’t send the multiple values to the csv file in an array. What am I doing wrong??Thanx
That is PHP – PHP goes into the smartmessage file see the example review form inside the AJAX PHP folder you will find how all the instructions fit together
So tired of the lack of support for this form… Somebody please email me at bobby.r.bowden@klazzy.com to show me how to get the multi-select checkboxes working PLEASE! I will pay you!! - I’ve set everything up and I have the “[]” as part of my “input name” but I don’t know where to add the script -—$age = $_POST[“age”];
if ($age0!=”“){
$age_list = implode( ’,’, $age);
}
My apologies… bobby.r.bowden@gmail.com
The instructions are clear and in which file they should go its pretty straight forward you don’t need to pay to get this to work
how to get all value from select <select class=”example-tags smart-select2” multiple=”multiple”> <option selected=”selected” value=”1”>Arua</option> <option value=”2”>Amuria</option> <option selected=”selected” value=”3”>Bukedia</option> <option value=”4”>Bushenyi</option> </select>
I get just first selected value Arua
I Solve It thanks
Thanks
Hello! first of all, this is probably the most useful and practical code part on Codecanyon. Second of all I have a question. How can i make this “message to different department”. I would like to place a select with two options and depending on picked one the email should change. How can I achieve it? Cheers
Thank you for the kind words. I included a practical example of this in the PHP templates / with email selected department for it to work
1 – HTML
In the HTML include your select with the list of options to choose with corresponding values for example consider the select below
<select name="department" id="department">
<option value="">Email to department</option>
<option value="HR">Human Resource</option>
<option value="PR">Public Relations</option>
</select>
2 – PHP
In PHP you will have to write your code giving each SELECT OPTION above a corresponding EMAIL value in an ARRAY – But you will have also to set a default email address just in case NO OPTION is selected that is in case your SELECT is optional (optional in this sense you dont force people to select values via validation)
Inside settings.php set the default email like this
$receiver_email = "example@domain.com";
Inside the smartprocess.php file
1 – Capture the option values
$department = strip_tags(trim($_POST["department"]));
2 – Set the email array with corresponding option values
$receiver_email_array = array(
'HR' => 'hr@example.com',
'PR' => 'pr@example.com'
);
3 – the set that array to equal the default email value you set so that in case one selects an option the default email also changes from the general to the one set in the select options array.. ($receiver_email)
if (isset($receiver_email_array[$_POST['department']])) {
$receiver_email = $receiver_email_array[$_POST['department']];
}
4 – Set the receiver email
$mail->addAddress($receiver_email, $receiver_name);
All these steps are included in that template of email-selected-department
HELLLLOOOOOOOO?? I’ve been trying to get this multi checkbox values to show up in the database for quite some time now. It’s extremely vague in the documentation…
What did you try? Usually with checkboxes if you need multiple values you have to set the checkbox as an array so that it is easy to capture the details
Here is an example – a more detailed example is the review form inside the AJAX PHP folder it captures your question well
1 – HTML
In the HTML lets say you have your group of 3 checkbox options
<input type="checkbox" name="car[]" value="Toyota">
<input type="checkbox" name="car[]" value="Subaru">
<input type="checkbox" name="car[]" value="Benz">
Notice that they all share the same name car[] but different VALUES
The square brackets in car[] represent an array
2 – PHP
In PHP you will write an array to capture all the values like this
Inside the smartprocess.php file
1 – Capture the checkbox values
$car = $_POST["car"];
2 – then implode all the values in case a checkbox is selected
if ($car[0]!=""){
$car_list = implode( '<br />', $car);
}
$car_list represents all the checkbox values that will be elected
3 – You can also validate with PHP in case no checkbox is selected
if($car[0]==''){
$errors[] = "Please check at least one option.";
}
Inside the the PHP look for the templates folder and for a file named smartmessage.php file add your car list there like this
.$car_list.
All these steps are included in that template of review inside AJAX PHP folder
The documentation doesn’t mention adding it to the smartprocess.php file. Where within that file will this script be added?
// age groups multi select
$age = $_POST["age"];
if ($age[0]!=""){
$age_list = implode( ',', $age);
}
I’ve done all of this and it still will not add the values to the csv file
Will I register the form field variables as $age = strip_tags(trim($_POST[“age”])); or $age_list = strip_tags(trim($_POST[“age_list”]));
Same question for “Prepare form field variables for CSV export” and “Generate the CSV file and post values if its true” ... will I use ”$age”, or ”$age_list”, ?
I’ve run a search for “AJAX” in all the folders that I downloaded for this form and no folders or files are showing up in the search for the name AJAX.
*
Got it to work. I had to download everything again and I looked at the “Review” sample. It showed where to place the script as well as an additional line to place the array into the CSV file.
Your documentation was a little vague… So once I code the <input type=”checkbox” name=”mycheckbox[]” value=”myvalue”>, and I have the “[]” after each value, what is the COMPLETE code that I use to send the checked values to the database, and what file do I add that code to?
Hi, apparently steps and cloneya do not work together. Is there any way to make it work?
I’ve actually read one of your oldest replies and I’ve got it fixed. But now I have another issue… How can I possibly validate cloned fields? I’ve checked the comments and I didn’t find anything.
Basically I have let’s say two fields (first name and last name) and I would like the first name to be validated. If I add any number of rows, only the first pair gets validated, the rest of them just remain like this
Cheers, Andy
Hi Andy am working on a fix for cloned elements with validation will notify you once its done
Hello I have checkbox like :
<input type="checkbox" name="navigation[]" value="1">
<input type="checkbox" name="navigation[]" value="2">
<input type="checkbox" name="navigation[]" value="3">
I put this code in smart-form.js but not working ? look :
this.on("sending", function(file, xhr, formData) {
formData.append("navigation", jQuery("#navigation").val());
.....
swapButton();
});
what should I change ? Thanks
presales question… after form submission, is the data sent via email , or it is stored in the database? i would like the data sent via email in the project i am doing, with an option to send to db in future
Its sent via mail am updating with an option for the db
Thanks
hello sir, i am checking to see if this feature of saving to the database has been implemented… i am eager to use this script
Not yet please been occupied should work on it before end of this month
okay… al be waiting … thanks
can you notify me once done… i can also pay extra for that customisation
Yes i will
Hello sir, Has there been an update on this feature?
Hello sir, i am just following up on this feature. Also, a suggestion… It will be good if you design a donation form with an intergration to stripe or paypal… Thanks
Really eager and patient to get this script