This author's response time can be up to 1 business day.
iphorm is excelent but i have a couple of problems..
a. cannot redirect to another page after form submission.
b. I have a problem with character display (utf-8) in the incoming email.
=?UTF-8?Q?=CE=9C=CE=91=CE=98=CE=97=CE=A4=CE=97?= / REGISTRATION | fdsfs fdsfds
Date: Fri, 29 Apr 2011 06:01:52 -0700
MIME -Version: 1.0
Content-Type: text/plain; charset=UTF-8
=CE=A4=CE=97 / REGISTRATION | fdsfs fdsfds
window.location = 'another-page.html';
Hi, i like the iphorm… but i have one problem:
How or where can I change the transferred label-names in the Email like Name, Email, Phone, Subject, Message?
$name = new iPhorm_Element('name', 'Your custom label');
Hello, Great Script!
I did have a couple quick questions if you have the time.
1. is there documentation on how to get the tool-tip to display on the left side of the input?
2. and what would be the best way to process the form then initiate a download on submit. Should I edit the config.php or is that simply to define fields?
Hi and thanks
1. There is a link to the qTip documentation at the bottom of the documentation section “Changing the tooltips”, you will find help there.
2. See the documentation section “Redirecting to another page after the form is submitted” and instead of redirecting to a page, put the URL of the file in there.
I tried to get it to work before I modified anything and had a little trouble, But it was my fault. It is up and running now, Thank you for your support. 5 stars from me.
Hi, this is great, but I need my contact form to be in some kind of floating bubble and not in the actual page. Would your form work ok in a modal window? Thanks!
Yes it will work in a modal, there are instructions included on how to put it into a lightbox (Colorbox).
Great stuff! Thanks. 5 stars.
I have a quick question about the email sent out. I don’t want to repeat the subject in the body of the email just the child’s name being registered.
the email has this:
I want it to list the field $childname
How would this be written just to echo the $childname element.
$childname = new iPhorm_Element(‘child-name’); /
See the documentation section “Customising the autoreply email”
It isn’t the auto reply email I am changing. It is the email sent to the recipient.
Either way neither section tells me how to change this line to only show the $childname field instead of repeating the subject line.
<?php echo $this?>_form->escape($this->getSubject()); ?>
Since the form is already live I don’t want to mess anything up but the client wants the change.
I see, I believe the code is the same either way:
<?php echo $this?>_form->escape($this->_form->getValue('childname')); ?>
How can I change the position of specific form elements in the email? I’ve read the manual, checked email-html.php and email-plain.php but I can’t figure out how to do this. Is it possible to create tables and inline css for specific elements?
Amount: (‘form-amount-1’) – Type: (‘form-type-1’)
Amount: (‘form-amount-2’) – Type: (‘form-type-2’)
I use the iPhorm on this website: http://www.bienvenue-utrecht.nl/broodje-filet-american/
Thanks in advance
Dave van Hoorn
By default it loops through every element and displays the value using the foreach loops in those files. If you want to customise what is shown, you will need to remove the entire foreach loop and then get the values individually as shown here.
Exactly the answer I was looking for, thanks a lot.
I had this form working beautifully… then I did something to screw it up.
When one left a required field empty, a message would fade in.
Now, it takes you to a new page “Please go back and correct these errors”
I can’t remember how to get it back the way it was.
Thanks for your help
I have bought your files, nice !
I have 3 questions :
How can you control all the position of the form, I have been in pagestyles, but didn’t see the solution, can you help me for that… I want to have the control of positioning all the form.
When I received the contact form in my email, I want to choose the font and size, in what file I can’t do that ? (It’s very big, I want the information more smaller)
Thanks for your help :-))
SORRY , my english is not very good…
new iPhorm_Element('nom_prenom', 'Nom & Prénom');
3. In the file emails/email-html.php there are inline styles defining the font size.
the first question is resolved, I have find the solution in CSS .
the question 2 & 3 is not resolved…
thanks, your answer is ok… all the form function correctly…
LOVE the form.
Everything is working good except the form is stripping off the name of the file attachment.
The email arrives with the attachment but it has not name. (ie. ”.jpg”).
Thanks for the great work.
Any non-alphanumeric characters are stripped from the file name when they are attached to prevent any issues with strange characters. So if the uploaded file does not have any valid characters, the filename will be empty.
$filename = $filenameFilter->filter($pathInfo['filename']);
$filename = (strlen($filename) > 0) ? $filename . $extension : 'upload' . $extension;
So any blank files will now be named upload.jpg. I will add this change to the next version, thanks for letting us know.
I can changed the position of the form on :
it’s function correctly…
I have designed my website with the menu on BOTTOM
and it’s doesn’t work when I put (for example)
(it’s function when I write margin-top:500px;)
is it possible ?
Thanks for your answer
Can you post a link to the form so I can take a look?
OK, I have send you an email with the link at
Can download function accommodate other file types like .pdf and Word doc files?
Thanks so much.
Yes it will work for any file type.
Hi- I bought the form script and added it ok, except for the attachment feature which ironically is why I bought it to begin with so I am disappointed I cant seem to figure out the problem. I am a little confused where exactly the attachments go to. I saw someone here mention that it goes to their email which is what I would prefer but in your docs I see you mentioning something having a folder named screenshots or whatever. Right now in my tests, there is an attachment being sent but it is blank (only 5 bytes) to my email- I also made a folder named screenshot(s) in the same folder as “contact-form”, and also in the root under public_html but no attachments are being sent there either. Can you clarify this for me as like I said this feature was why I bought the form in the first place so I do need it. BTW , I did add the required code to config.php – Thanks.
Can you send your config.php file to email@example.com so I can check it over? Also please send a link to your form if you have it online. The attachment feature and saving to a folder are two separate things with different configuration.
Have a question regarding instructions. If I am happy with a config example file (like config-file-uploads), can’t I just overwrite the “root” config.php with that one and name the example config.php?
BTW : Really nice set-up. Great value.
Thanks so much.
Yeah that would work fine as long as the form HTML matches too, and thank you
why it says we cant send any messages without file attachment in upload example ?
Because those fields are required… just for the sake of example.
Just a follow up to my last comment. I want to thank you for helping me out with tweaking the script to get it to do what I needed it to. For anyone looking for a solid contact form that looks great with plenty of options, I can honestly say this one is the best I have ever used. I even have 4-5 other contact form scripts I have gotten included free with other templates I have bought and even having to pay separately for this one it was well worth it. 5 stars-
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $2
This item was featured on CodeCanyon
Deliver better projects faster. Photos, templates & courses
Unlimited downloads. Only $29/month
Learn almost anything with
Envato Tuts+ for free
25,000+ tutorials and 1,000+ courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work