654 comments found.
Hi, one question:
I have this div on my form (Im using Toggles): -
How can i put those inputs on the confirmation email? I read the documentation but i coud not find instructions, please help.
Regards, Daniel
Hi Danel,
1 – HTML CHANGES
You will have to make some adjustments to your code you posted – please notice that those are checkboxes and with checkboxes you need to change the name attributes on the checkbox instead of having name=”features1” change it to name=”features[]” – the correct markup should look like this below
<label class="switch block switch-purple">
<input type="checkbox" name="features[]" id="f1" value="javascript">
<span class="switch-label" data-on="ON" data-off="OFF" />
<span> Javascript </span>
</label>
<label class="switch block switch-purple">
<input type="checkbox" name="features[]" id="f2" value="downloads">
<span class="switch-label" data-on="ON" data-off="OFF" />
<span> Downloads </span>
</label>
<label class="switch block switch-purple">
<input type="checkbox" name="features[]" id="f3" value="cookies">
<span class="switch-label" data-on="ON" data-off="OFF" />
<span> Cookies </span>
</label>
<label class="switch block switch-purple">
<input type="checkbox" name="features[]" id="f4" value="popups">
<span class="switch-label" data-on="ON" data-off="OFF" />
<span> Popups </span>
</label>
2 – PHP CHANGES (All files located inside the php folder of your form)
A – INSIDE smartprocess.php PUT THIS CODE BELOW – Remember to put it where below this comment: Register all form field variables here
$features = $_POST["features"];
if ($features[0]!=""){
$features_list = implode( '<br />', $features);
}
B – OPEN THE TEMPLATES FOLDER AND LOCATE – smartmessage.php You will find a list of variables for other form fields just add this line below
<p><span style="font-weight:bold;font-size:16px">Features :</span> <br />'.$features_list.'</p>
That should solve your issue
Regards
Elia
Please copy the code as is it should work you can use a code editor like dreamweaver or sublime text or notepad ++ to evaludate the code but it should be OK
Dear Author,
After the File submitted, where the files store ? any admin panel ?
thnaks
Hello Lomboku on a server folder which you can specify, the forms have no db! The admin panel is basic for displaying form data no crud operations
So this is only form interface without any database and admin panel ? right ?
Yes in a way! Its a form interface form components that can help you quickly build forms. However i added the ability to quickly build a form and send form data using AJAX and PHP Mailer.
However i also added some settings where you can store all your form data in a CSV file. I use this CSV file to interface and display data using the dataTables plugin. So in some sense that acts as a back-end where you can view all the data submitted in tabular format. You can search and export it in different formats
So the CSV acts as a DATA Base but as you know it has limitations
Hello friend. I have this issue for Dropzone template.
Invalid argument supplied for foreach() in /home/dropzone/php/smartprocess.php on line 51
PHP Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/php/phpmailer/PHPMailerAutoload.php on line 45.
Please how to fix this issue?
send me an email on my profile page i will help you fix the issue – it has something to do with your version of PHP
Thank you I have fix php version
Hi! I’m having issues on developing a local form (via XAMPP). I sent you my query via Support but didn’t get any response. Would you let me know where to contact you with my issue?
Sent you an email
Can I redirect to another site if a certain condition is answered?
Hi Alex Yes, you can if you set that condition either through php or javascript
disapointed…waiting for authors answer 2-3weeks…
We use these Smart Forms in college. This helps to structure information correctly, because we have a lot of paperwork. I even have to go to this page to write my speech. This helps to save at least a little time. I am very tired, but this service provides an opportunity to relax with my family.
any update error: PHP Deprecated: __autoload, PHPMailerAutoload.php on line 45
Can you share more details on this?
Hello, I got this errors,
PHP – running on my server version 7+
PHP Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/........./php/phpmailer/PHPMailerAutoload.php on line 45
Auto load script doesn’t working and host has restricted some mail transport functions on the server.
Alright send me your FTP details alternatively use composer to generate phpmailer with a newer version of autoload
You can run
composer require phpmailer/phpmailer
PHP mailer also supports direct php includes without autoload
If you cant do this send me your FTP details i will assist you
Thank you! Please check your email
Yes received let me fix it
Hello,
I know that I’m out of support period, but is it possible to tell me how I can use the red.css? I’ve loaded smart-themes/red.css and I added theme-red in class=”smart-forms theme-red”, but nothing good happen.
Thank you
Chris
No Problem Chris can you share a link to your form i check whats happening?
Thank you. Actually this is the project for which I want to buy an extended license.
https://www.cityforo.com/usercp.php?do=articles§ionid=1&action=addChris the theme file follows this order
.smart-forms .theme-red
SO this essentally means you add the theme-red class to the form element like this
<form id="article_form" class="theme-red">
Try that and let me know
Unfortunately it does not solve the issue. Still is the green interface. If it’s just a value, can I make a global search and replace in smart-fonts.css to make eg FF0000 the default color?
Comment: As I can see the field border on mouse over is now red but all buttons are still green.
Ignore it. I’ll use the default color and maybe I’ll try to change only the button colors. Thank you.
Just add another class to the button like this
<button type="submit" class="button btn-red">Submit</button>
That should solve the issue of buttons
echhh…
... Thank you
I wasted time trying to do it by changing btn-primary to btn-danger. Now everything works fine.
No problem Chris
I renewed my license for support but I appreciate that you supported me without having it active. Professional reaction. Once again thank you.
Thanks Chris appreciate the gesture
2 weeks ago I ask via support for help. nothing happen. After this, I ask for refund. nothing happen. poor
Sorry about that, how can i help you, what is the problem that you needed support with?
For refunds once Envato approves them you get refunded
today a sent another mail through your support form. pls. check
Alright working o your issue
Any progress on it?
Sending you files tonight am almost done
Hello i have attached the form everything configured as you want it
Couldn’t email the files via gmail as it wont allow me to attach js and php scripts but i have sent you a link to the working demo and a download link from my server
Thanks
How to use admin function, create login and password.
The documentation has the details use an MD5 hashed or salted password
Can you show me where it is?
Alright send me an email
I need urgent
follow the email playoutbr@gmail.com
Alright let me email you shortly
Hi sorry I’m still unable to create this login, the existing login also does not enter can help me with a video please?
Sent you an email
answer me the email I send you
Am working on a solution to your issue
It seems to be a general issue with the last update i made let me work on fixing it
How will I know if you have already fixed the problem?
Will update you here or by email i have your email
Hello, what’s up?
Give me a day or two i will email you the files am working on it
Hello, I would like a form project, I want to get all data in order, would you do that, if so, I’ll send you the example?
Please do via my mail
I sent you an e-mail
hello how to export form data in pdf ???
It uses the dataTables inbuilt PDF export function
https://datatables.net/extensions/buttons/examples/initialisation/export.htmlwhere can i find this? I only see export CSV excel
once you view your all data in the admin area the export buttons are there for xsl pdf and other formats supported by data tables
Just comment out the two require PHP lines inside admin > index.php
They are located on top of that file just add // before requre you should be able to see the form data in tabular format if you enabled the export CSV option in your settings file
There you can print export etc
This exports all data though, so I have worked on an update that uses PHP to export individual forms using MPDF so that when emailing the form it the data also be emailed as a PDF document including images and text it will be included in the next update
but how to access this admin area? still can’t can you help me?
I explained it in the comment above the last one
1 – go to your forms php folder locate the admin folder
2 – go to the index.php file and remove the two php lines that prevent authentication (am resolving that one)
<?php
require('check.php');
require "dataprocess.php";
?>
3 – Save the index file
Now to see that file you need to go to
your form url /php/admin/
You should see the form data in a tabular format and links to the print function
That’s it
I can already see the table, but would have to leave the values received in alphabetical order, how do I do this?
You want them in alphabetical order? DataTables supports sorting in alphabetical order using column definitions if possible we can discuss the details over email
Alright please remove your email address from the comments if you can edit your comment above… I have your email address let me send you the details
I can not edit the comment I hope the answer in the email.
Hi there, been using your smartforms with Google reCaptcha V2 for a while with no issues or errors. Just recently I started noticing the following warning in the browser console:
”...A cookie associated with a cross-site resource at http://google.com/ was set without the `SameSite` attribute….”
I think this error is related to Google reCaptcha API call on the page containing your smartform. When you remove Google reCaptcha from the form the issue goes away.
Any idea how to fix this issue? Any help would be appreciated,
Many Thanks 
Am working on a major update ASAP this will be resolved
Great! Hoping for support for reCaptcha V3 too. Is that likely?
Yes sure it is
Thats great
Expected completion date?
Am looking at 2-3 weeks, to include most of the client suggestions as much as possible
Great news 
I have need for setting a processing animation – form submits to another page, but intense php scripting creates a long wait time before the page transitions. I want a gears gif to show once the submit button is pressed and no validation errors. I tried simple javascript change visibility but it clashes of course with your validate and the show/ hide that I’m using. How can I achieve this?
Hello Savvyone you can always add a processing custom animation using JS – am not sure how your submit handler looks like but you need to put the animation in your form submit handler
If you need help please send me an email i will be glad to help
Thanks
Completed forms are are going straight to gmail spam folder, with a response of Why is this message in spam? Gmail could not verify that it actually came from seanmcgehee@gmail.com. Avoid clicking links, downloading attachments, or replying with personal informtion.
Inmotion is my webhost. I read in the comments where another purchaser was having the same issue. You gave him the following
7 – SPF records for your server are misconfigured/not configured at all
8 – Domain keys are misconfigured/not configured at all 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
A. Where in the smartmessage.php shoud I add 1 and 2
B. How do I configure domain keys inside smartmessage.php file
The header looks normal
date
Standard encryption tls
Please help me
You are using gmail as your send to email?
Elfaire, yes I’m using gmail as my send to email, I am also curious to know if the process would be the same when using yahoo, outlook, roundcube, squirrelmail etc., basically any email provider that a client requests the completed form sent to.
On another note I am following your lead and researching how to properly setup SPF/DKIM records through my webhost.
Lastly, here is a question that has been on my mind for some time, say there is a prebuilt landing page template (i.e. pre-designed non working form)
How can I sync your script with an already designed form. Example
<form>
First name:
<input type=”text” name=”firstname”>
Last name:
<input type=”text” name=”lastname”>
</form>
Do I just add?
<form method=”post” action=”php/smartprocess.php” id=”smart-form”>
<input type=”text” name=”sendername” id=”sendername” class=”gui-input” placeholder=”First name”>
<input type=”text” name=”sendername” id=”sendername” class=”gui-input” placeholder=”Last Name”>
Would I have to change name to “sendername” in already designed non working form or would I need to change firstname/lastname in already designed non working form to sendername
Then would I just add the following to the already designed non working form
<label class=”field”> <input type=”text” name=”captcha” id=”captcha” class=”gui-input sfcode” maxlength=”6” placeholder=”Enter CAPTCHA”> </label> <label class=”button captcode”> </label> <!Lastly, what’s the difference between the sendmail and SMTP version?
Elfaire, I really appreciate your time and effort. Thank you for a wonderful product.
Hello Sean In the second question you want to add both styling and formatting to an already existing form or just the procesing script?
The difference between SMTP and Sendmail is that with sendmail the form uses the default mail server to send emails but SMTP uses a pre-configured mail server which requires extra layers of authentication therefor SMPT requires USername, Password, Server Name ETC
These you can find in your CPANEL actually
Out of experience SMTP is more reliable because email clients such as gmail validate it so few chances of your email ending up in spam because its authenticated
Hi Elfaire, I would just like to add your processing script to already styled forms.
There are some great html templates that have already styled forms. I would like to use / add your script / validation to already styled and formatted forms.
For example, some already styled forms are just email only – to receive a newsletter, or have more input fields such as name, email, phone & message.
Oh great just send me an mail we we look at some of your template and discuss how you can do integration with the scripts
Hi Elfaire,
When using the sendmail version and sending it to a gmail email address the form details go straight to gmail spam folder.
When using the smtp version I get a Message not sent – server error occured!
I input my GMAIL SMTP Settings.
$SMTP_host = ‘smtp.google.com’; $SMTP_username = ‘xxxxmcgehee@gmail.com’; $SMTP_password = ‘xxxx9311’; $SMTP_protocol = ‘tls’; $SMTP_port = 587;
I have also tried ssl / corresponding port
Neither work.
Should it be inmotion hosting’s (my webshost) SMTP settings.
Please help me.
Thanks
Does your host support smtp? You should use your hosts details
Hi Elfaire, Thanks for the quick response. Yes Inmotion hosting supports smtp.
Here are the details:
Secure SSL/TLS Settings (Recommended) Username: sales@seanmcgehee.com Password: Use the email account’s password. Incoming Server: mail.seanmcgehee.com IMAP Port: 993 POP3 Port: 995 Outgoing Server: mail.seanmcgehee.com SMTP Port: 465
Use those details with port 465
You can test with both SSL or TLS to see which one works for you
I am looking for conditions for a form. For example, I create a form for an employer. Question 11 asks him to check which software that they use… Later on in another section, question 35 asks “If you selected Adobe Photoshop in question 2, you need to answer the following questions” and make it mandatory for those 5 questions. Can these be done?
I have problem with form validation based on data-atribute. I created form with 3 steps, where someone can choose using radio button field which way he want to proceed. Based on that choice form will show user fields from group A or group B. Of course i’m using for that example from show and hide
And i have problem because in both groups i have fields which are required. When i’m trying to sent form with filled fields from group A i can’t because fields from hidden group B are still required
How can i fix this?
Even if i move all rules from data-atribute to header i still can’t send form because hidden fields are empty 
You can disable validation for hidden fields
Here are the options
If you want to validate “hidden” fields (hidden by your collapsed panels) but not validate other hidden fields, then you simply need to set the ignore option to something much more specific.
Add a new class called .ignore to your hidden field(s). Then set the ignore option to ”.ignore”. Of course you can use any class or jQuery selector you wish.
Example 1
$("#myform").validate({
ignore: ".ignore"
});
Example 2
Set ignore generally on all fields
$("#myForm").validate({
ignore: ':hidden'
});
I’m afraid that it doesn’t work in my case.. Did you test this solution with form with three steps? http://doptiq.com/smartforms/v4/demos/working/elegant/multi-steps/
Send mean a link to your form via email
I’m needing to build a form using only HTML5 and CSS3, not any of the PHP features, including a slide selector, a calendar, and a couple of drop down fields – is this possible?
Thanks!
What is a slide selector? the rest is possible and all plugins are included
Thanks
Oh you mean Range sliders
? That’s possible as well by the way PHP is just added for demonstration but the forms are meant to be used without PHP so that you can use your own proffered language
Hi ! Does it support Shopify ? Any installation help on that?
Hello! Absolutly fantastic Script
I like it a lot! I just got one question :
The Dropzone Script was not sending me the attachments in the recieved mails. I was trying a lot, also with the smtp version. No Chance.
So now iam using this one :
AJAX PHP\Sendmail version\order
Its working without problems, also iam getting the attachments.
I would like to have a option that i can select multiple files withhin the Upload Form. Is that possible?
Thanks
Yes it is possible with some small changes to the file input and the PHP, please send me an email i will work it out for you
have done that! thanks
did you get my mail?
Hello do you have any update??
Yes am going to send it to you by email