Code

Discussion on Smart Forms

Discussion on Smart Forms

Cart 4,302 sales

elflaire supports this item

Supported

654 comments found.

I just figured out autocomplete doesn’t work properly with jquery-3.4.0. Some error messages and the list appears at the top / left of the window, not at the input element. do you plan to update your code to fix this?

I will fix it in the updates

Hey, in version 4.2 validation of radio and checkbox seems to be broken! Have a look at your runnin´ demo: http://doptiq.com/smartforms/v4/demos/templates/flat/validation.html

figured it out: -moz-appearance: none; seems to be bad!

.smart-forms .option > input { -moz-appearance: none; } if you disable it, it works

Note: -moz-appearance not working with radio and checkbox says dev mozilla: https://developer.mozilla.org/en-US/docs/Web/CSS/appearance#Browser_compatibility

Thanks Summsel will be fixed

Can I disable the ‘Go Back’ button on step 2 and 3? I have a 6 step form.

Let me try to configure that and see if i can send you a working demo

How do I add a Reset Button in a multi-step form?

Hello cfactory sorry for the late reply

If ypu are using validation you could enable and use the cancel button to call validator.resetForm(). See the following example:

$(function ()
{

    var validator;

    $("#wizard").steps({
        enableCancelButton: true,
        onCanceled: function (event)
        {
            validator.resetForm();
        }
    });

    validator = $("#form").validate({
        rules: {
            zip: {
                required: true,
                maxlength:5,
                minlength:5
            },
            phone: {
                required: true,
                minlength: 10,
                phoneUS: true
            }
        }
    });
});

Or you can reset on complete / success see example in the working forms multi-steps

Hi how to install this script in my server.

I have sent e mail you about my server login. Still waiting from you a reply. Thanks

Alright

Hello, After submit can you add a loader until successful/error message show?

Replied

Thank you, please check my answer

Alright let me work on it

I’m trying to open a modal popup from inside a Multi Step page/tab. But the button does nothing. I have ordered the js files correctly.

What is the trick to making this work?

Send me an email i will help with this – please include a link to the demo form

Thanks, I have sent an email with example attached.

OK let me work look at it

Would I be able to use this with visualforce pages in Salesforce? Also, is it possible to have a multi step form with a “review” tab where users can review their fields, and edit them there if they click on “edit”?

Hello Yahia – that is not currently supported with this script

Hello Yahia – that is not currently supported with this script

Hi.. I did not find any code in documentation or validation to make if I want the text in text field in uppercase mode.

hai elflaire,

I want all the input in text field in ALL CAPS.

Use something like this

$('input[type=text]').val (function () {
    return this.value.toUpperCase();
})

To force all text to uppercase

Hi, how can i install and customize this script.? Is it posible to intagrate wordpress?

thanks

i have sent you e mail about installation. How i can install ? thanks

Let me send you instructions

Let me send you instructions

How change color of button for red ou other color?

smart-form.css theres a button class you can change it from there

Hello, I got this errors,

PHP Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/.........../contact/php/phpmailer/PHPMailerAutoload.php on line 45

escapeshellcmd() has been disabled for security reasons in /home/........../contact/php/phpmailer/class.phpmailer.php on line 1442

Can you help me please ? Thx a lot

1 – Are the emails going through?

2 – Which version of PHP are you running on your server – i guess its version 7+? Let me know! This should not prevent mails going through but we can include the mailer classes manually instead of using the autoload script since it doesn’t do much i am working on the update with a single autoloader generated by composer that way its easy to manage script loading

3 – Also it seems your host has restricted some mail transport functions on the server.

SO These errors (escapeshellcmd) are down to your server PHP config, not the script.

Functions can be disabled for any reason, security being a common one. escapeshellcmd has a number of serious potential issues, so it looks like it's been turned off for you, causing this error. You can work around this easily by doing what PHPMailer recommends anyway: sending using SMTP to localhost, not the default mail() transport.

So go for SMTP

where file upload placed?

tell me if you done sir.

Sent you an email did you see it?

nope, please reply to bruakakakakak[@]gmail[.]com sir. thanks

Is it easy to add the Google reCAPTCHA v3 to the contact form?

Any update? It’s been 6 months…

Adding reCaptcha 3 has been a daunting task especially in validation from the front end side of things, because it uses a different algorithm but i have some working prototypes for invisible recaptcha which you can look at

Email me i will share links to see if it can work for you

I already sent you a message here on envato and on the email, and did not get a reply, can you please inform me how to reach you then. I am precisely looking for one of the demo forms , and it is not included in the purchased item

it does not redirect, it does not send the user to the page where the content is downloadable. all what i get is message sent.

There’s an option for redirecting the form after submitting data in the SETTINGS.PHP file it looks like this


    $redirectForm = false;
    $redirectForm_url = "http://example.com/thankyou.php";

CHANGE IT TO:


    $redirectForm = true;
    $redirectForm_url = "your url to the form/csv/php/admin";

Your url to the form is the one in the browser widow, let me know if that works or you need further help

My email is back on please send any questions on email

Hello elflaire, you have a new button “Format” which has a small “dropdown” Icon (see http://doptiq.com/smartforms/v4/demos/templates/flat/ui.html#group6 )

Although this icon implements, that there will drop down a kind of menu when i hover (or click) the “Format” button – nothing happens (of course because right now there is nothing :o) ) BUT: this is exactly what i need so much. Maybe you can implemend a kind of cool div based dropdown, in wich we can set some more checkboxes etc.)

and btw: I can´t find a changelog to version 4.2 – can you post this anywhere?

thx :)

Hello Summsel, i am going to add that functionality in an update ASAP and also add a change log for Version 4.2

Your´re the best! Keep up your great work! :)

How can I make the captcha font size larger?

Figured it out. It was in the captcha.php file $image = imagecreatetruecolor(220, 65); imagettftext ($image, 40, 0, 0, 40

Thanks for all your hard work with this awesome script!

You can open CAPTCHA.PHP and look at the image size

$image = imagecreatetruecolor(118, 15);

Play around that value

Hi how to install this script in my server.

Send me an email on my profile page i will assist you, i hope its an APACHE SERVER (PHP)

I downloaded the zip package yesterday and I was wondering if parts of it are missing. Within the templates folders I could not find for example the template that uses “Steps” : http://doptiq.com/smart-forms/demos/samples/flat/multisteps-progressbar.html

So instead I copied the source code locally and tried it, after which the form just showed all the fields on one page without the 4 steps. I noticed that a lot of the JS scripts were not present in the downloaded zip, so I manually downloaded all the referenced JS from the online sample and placed them in the correct folder and now everything works.

But does this mean, I have a completely wrong ZIP file after download ? the folder inside is called smartforms v4.2 however. It seems to missing templates present on the live preview site.

SOrry abou that and thats strange – the folder i zipped which is v1.42 has all the files included have you tried re-downloading the folder i dont know why that is happening. Let me try downloading the version on envato and check my self if there are any issues i fix them

Thanks for raising that up

oh no, seems my mistake, I hadn’t noticed that part of the templates aren’t in the Template samples but in javascript enhancements, I thought that was just a folder with files to include into the template ones.

Glad you found it – You can see the documentation it starts with some basic folder structure – The working forms are inside AJAX PHP there is an example of a working multi-steps form ready integrated with AJAX validation and PHP to get you started am also available in case you need help

Whats new in v4.2 do we have change log?

On the form page there’s a change log

All CSS changes were made to the main css file

- Updated the main css file fixed some some typo errors - Updated the css for the radios, checkboxes, ui sliders and timepicker - Updated the admin login.php file removed deprecated PHP functions

Am working on a major update later this month to the plugins and an overhaul of the forms so this is a minor update

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey