1406 comments found.
I keep getting these errors when using the file-uploads template:
Deprecated: Function get_magic_quotes_runtime() is deprecated in /quform/lib/class.phpmailer.php on line 2714
Fatal error: Uncaught phpmailerException: Could not instantiate mail function. in /quform/lib/class.phpmailer.php:1524
Stack trace: #0 /quform/lib/class.phpmailer.php(1342): PHPMailer->mailSend(‘Date: Tue, 23 J…’, ‘This is a multi…’) #1 /quform/lib/class.phpmailer.php(1215): PHPMailer->postSend() #2 /quform/process-file-uploads.php(419): PHPMailer->send() #3 /quform/process-file-uploads.php(471): process(Object(Quform), Array) #4 {main} thrown in /quform/lib/class.phpmailer.php on line 1524
Hi
For the Deprecated notice – it looks like the PHPMailer library needs to be updated for PHP 7.4. It’s just informational, and won’t cause any problems. If you replace the contents of the file quform/lib/class.phpmailer.php with the code on this page it will fix the issue.
For the Fatal error, see this page.
Regards, Ally
Hi, purchased your form it’s very good. I have a question: Is it possibile to separate blocks of fields in email notification? (eg. in my form I ask for shipping address and billing address that have many similar fields, than I need to show them (in email notification) formatted in separated blocks ). Thanks
Hi
You’d need to manually edit the quform/emails/notification.php file, and instead of the foreach loops you can have the TR/TD tags for each field in the form, then add your own HTML for blocks around the address fields. See this page for how to display the value of fields within the email. You might need a developer for this.
Note that the notification.php file is used by every form by default, so if you have other forms on the site you might want to create a duplicate of this file with another filename, and in the process.php file change the $config[‘emailBody’] option so that it uses the new filename.
Regards, Ally
ok perfect, thank you
if you encounter a 500 internal error like I did when submitting form, check your resources and template folder permissions. Had to set mine at 755 to get rid of the 500 internal error message.
Hi
Thank you for sharing this 
Regards, Ally
REDACTED
Hi
Thanks for the reminder, I’ll remove that in the next update. You can just remove those last 3 lines of code from the quform/common.php file to stop the deprecated notice appearing.
Regards, Ally
REDACTED
Dear Sir/Team, I purchased this script but it is very difficult to understand..I tried and waisted my 5 hrs. But failed. I want to show only two fields for my form only on mobile device. First field for name and second field for email. As the user submit these details then he see a successful message. At the same time my gmail address auto send an email to user with custom message. Please do it for me.
Hi
It may be easier if you start with one of the example forms, get that working then make the adjustments.
Here is an example of the code for a form with 2 fields Name and Email. Copy & paste the process.php file contents from there into your quform/process.php file, enter your email address on line 42. Then upload the form.html and quform folder to your site.
Regards, Ally
Dear Ally, Thanks for the help. Actually it is working great..Auto reply is also good..I need your help sir..I am not a professional programmer but I hope you will also help me. Sometimes user enter wrong email address and they wait for the reply but it can not be sent because they entered wrong email address. I wish I could have an extra field to confirm email..If the user doesn’t enter the same email address in second box then he see error… My second issue is.. Can I validate users to enter particular email domains such as Gmail and Yahoo only…
Quform is bigger then my need and it is awesome….I am using it to deliver a 4 digit access codes to my user as auto reply. I don’t want to provide same code to every user. I have the list of codes and want to deliver one by one to each user..Only unique code without repeat. Can you please help me to do so. I will be thankful sir for this support.
Hi
1. We have a guide here for a confirm email field.
2. In the process.php you should find this line:
$email = new Quform_Element('email', 'Email address');
Below it add the following code:
$email->addValidator('regex', array(
'pattern' => '/@(gmail|yahoo)\./',
'messages' => array(
'not_match' => 'Please use a Gmail or Yahoo email address'
)
));
3. Sorry this is outside the scope of our support, you are free to add PHP code inside the autoreply.php file, so if you can get the PHP code for displaying the access code, you can just add it to the file.
Regards, Ally
Thank you sir.
Hi. I’ve got a reproduced on multiple servers problem in browser MS Edge and Chrome. While my forms are working without problems on Firefox and Opera. Reproduced this problem with your untouched example files (beside entering email addresses for $config[‘recipients’] and $config[‘from’]) Error is always the standard “There was a problem An error occured…” note. Since I’ve tried this on multiple servers with your example files, I do not think error is on my side. Do you know this issue? Thanks for your answer aixtreme
Hi
There was a Chrome update that broke the form submissions, though I believe they are working on a fix for this.
You can fix it right now by editing the file quform/js/plugins.js – have a search for this code around line 148:
iframe: true,
Just add this line below it:
iframeSrc: 'about:blank',
You may need to force reload the page with Ctrl+F5 for the browser to pick up the change.
Regards, Ally
Thank you! That worked.
What happened to QuForm for Wordpress ?
Why was it removed ?
Hi
It was disabled by Envato due to what seems to be a miscommunication issue, but we hope to have it back up as soon as possible.
Regards, Ally
ok
Hello
Is lookup option available for this forms?
I need to create two forms one for the user to enter the data (Name, Address, City), two the user can lookup the entered data using custom lookup field i.e., City.
Regards
Hi
While there is nothing built into the script for this, it is possible for a developer to implement this on top of the form you can create using Quform.
Regards, Ally
hi just wondring if this form can post data in google sheets
Hi
There is nothing built into the script for this, so it would require custom development. It would probably be easier to integrate through Zapier than trying to send the data to Google Sheets directly. A developer should be able to integrate this.
If you can use WordPress, our Quform WordPress plugin has a free add-on for Zapier that you can use to do this.
Regards, Ally
Hi, Im gettin this error: There was a problem. An error occurred and the response from the server was empty. I have the QUFORM_DEBUG set to false
just enabled the display_errors = on on my php.ini file but nothing is showing
I already searched on my error_log file and there is nothing from today. The last error shown was 3 days ago
I think it is because I get lost on adding the elements part. Im using an already created form and dont know exactly where to add this code:
$element = new Quform_Element(‘my_element_name’, ‘My element label’); $form->addElement($element);
I assume is on the process.php file but dont know exactly where
Im not using label, Im using placeholder instead, maybe thats why Im getting this error?
Hi
In the process.php file there is a section labelled FORM ELEMENT CONFIGURATION – if you add the code below that line it should work.
You can set QUFORM_DEBUG to true while debugging the issue, it may help you find out what’s wrong.
You can temporarily remove parts of the code that you think could be causing an issue, to find out which part is causing the issue by trial and error.
If you want to send the process.php file to info@themecatcher.net I can check it for problems.
Regards, Ally
Hi, There is a way to connect with Salesforce ? Thanks
Hi
It’s technically possible, but it would be a very difficult task. In the process.php file, you could integrate with the Salesforce API after the form is submitted.
It would be much easier if you used our WordPress plugin, you could then use our free Quform Zapier add-on to integrate with Salesforce.
Regards, Ally
Hello, Is there a file that shows the version number that I’m using, apart from the documentation file? And is there any advantages of taking the time to update? Will it be more secure and fast?
Hi
In the quform/common.php file there is a QUFORM_VERSION constant with the version number, unfortunately this was only added in the latest version. If you still have the package you downloaded originally you’ll get the version number in the documentation file. You can see the changelog for what is different in later versions. Each update has the latest versions of bundled libraries which may include security fixes, though there are no recent security or performance fixes in Quform itself.
Regards, Ally
Hello, I already bought the wordpress version, but now I need a php version, but I saw that there are no fields and conditional pages, I need to know if I buy this plugin, the support could help me add these conditionals and I also need to do calculations.
Hi
Sorry, conditionals and calculations are not built into this script, and it’s outside the scope of our support to implement this for you.
Regards, Ally
I saw you, answering another message, that could help at least with the conditionals, I feel bad now = (
Hi
I can explain how it can be done, but you may need a developer to implement it.
For conditional logic, you can use CSS to hide the quform-element div that surrounds the field, then have some JavaScript to show this div when the relevant value is chosen in another field.
Then in the process.php file wrap the code that configures the field in an IF statement that checks if the relevant value from the other field is in $_POST.
Regards, Ally
hi! can i install the script in a different directory than the root directory? and can i have to form in one directory and the php script in a different directory?
Hi
The /quform/ folder needs to be URL accessible, but you can place it in any subfolder. The form HTML can be anywhere on your site, you’d just need to update the form action=”...” attribute to point to the location of the /quform/process.php file.
Regards, Ally
thank you!
Is there a minimum php version so the script works?
sorry I found it, (pffff not reading!)
Hi,
Our form has stopped working and the error message is as follows: __autoload() is deprecated, use spl_autoload_register() instead in xxxxxxxxx/quform/lib/PHPMailerAutoload.php
Can you please advise?
Thanks
Hi
Can you replace the quform/lib/PHPMailerAutoload.php file with the latest version from this page?
I’m not sure that the PHP Deprecated notice would cause an issue with functionality. So there may be another issue here, if you still have a problem be sure to check out the troubleshooting help section.
Regards, Ally
The form generates too much spam I’m afraid. Am I doing something wrong ?
Hi
Quform supports 3 different types of reCAPTCHA, if you are open to using it. Two of them are invisible to the user. Please go to this link and expand the CAPTCHA section to see the relevant guides.
Regards, Ally
How can I add radio button fields like support, billing, etc. And the email will go to the selected department?
Hi
There is an example on this page. This code would replace the existing $config['recipients'] = ... line in process.php and assumes that the radio button/select field is called subject, so just replace subject with the unique field name of the radio buttons field.
Regards, Ally
can you give sample radio button html code for this? I cant make it work. Its always sending to the email when theres no selection
Hi
Here is some example HTML code that should work for the code in the previous link:
<div class="quform-element quform-element-radio">
<div class="quform-spacer">
<label>Radio button <span class="quform-required">*</span></label>
<div class="quform-input">
<div class="quform-options">
<div class="quform-option">
<label><input name="subject" value="General enquiry" type="radio" /> General enquiry</label>
</div>
<div class="quform-option">
<label><input name="subject" value="Sales enquiry" type="radio" /> Sales enquiry</label>
</div>
<div class="quform-option">
<label><input name="subject" value="Support enquiry" type="radio" /> Support enquiry</label>
</div>
</div>
</div>
</div>
</div>
Regards, Ally
Hello I would like to know how to put the sending reception message successfully at the bottom of the page after the button
Can you tell me how?
Thank you
Hi
Edit: sorry I answered this for our WordPress plugin by mistake.
You’ll need to edit the file quform/js/plugins.js search for the code hide().insertBefore(self.$container) and change insertBefore to insertAfter
Once you’ve made the change, make sure to force reload the page (Ctrl+F5) so that the browser picks up the change.
Regards, Ally
Hi I transfer utm parameters to hidden field on my form in html format. In email this field does not display html correctly and display all tags https://yadi.sk/d/cJBSr2lpkl61_A
Hi
For security reasons raw HTML is not displayed in the email. To make it happen, first set the UTM element to be hidden in the process.php file, by adding the line $utm->setIsHidden(true);:
$utm = new Quform_Element('utm');
$utm->setIsHidden(true);
$form->addElement($utm);
Then also in process.php file find the line with the comment // Custom code section #1 and below it add this line:
$config['extra']['UTM'] = $form->getValue('utm');
Replace UTM with the label you want to display in the email, and replace utm with the unique field name.
Regards, Ally
It works. Thank you
Problem with recaptcha, when i go to submit the form it says An error occurred, please try again.
Hi
There may be an HTTP communication issue between your server and the reCAPTCHA verification server. The latest update of Quform (v2.4.0 – 19 May 2019) has a fix that may solve this problem for you.
Could you try following these instructions to update the script?
Regards, Ally
Thank you for your response. I will follow your instructions.