Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
A button for attaching files to a Form.
Is that difficult?
Would it be html or php?
And could a non web designing photographer get his head around the code and what to do with it?
Many thanks
Simon
Offline
I believe you can do this using Form to Email Pro: http://formtoemail.com/formtoemail_pro_version.php
And here's a site with code to add the file upload button to your existing form. You'll need to edit the page with the contact form (contact.php in Pages or the CRG index page, depending on where you're doing this) after export.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks Rod ....
I think you forgot the second link though
Cheers
Offline
crap!
Had to re-Google it
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hi,
I upgraded to Form-to-Email Pro and I've configured it to recognise attachments and I've configured the Form and it's all pretty cool me thinks ...
http://www.stompstock.co.uk/contact.php
Just one oddity puzzling me .. the 'choose file' buttons work on an iPad but are greyed out and not available on an iPhone.
Any ideas why that might be?
Thanks
Offline
No. But try un-checking the catch iPhones check box in Output Settings and see what happens.
Or it could be that browsing folders in an iPhone isn't allowed or won't work?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Nice idea - didn't seem to make any difference though :-/
BTW - s there any Wiki info on that 'On Mobile' section of Output Settings (I couldn't find any) ?
I first noticed the buttons weren't working on the iPhone before I got to an iPad.
And presumed it just wouldn't be possible unless written into an App or something.
But when I found it worked fine on an iPad - that made me curious because I thought they were basically the same OS (though I have no real idea).
You can definitely browse folders from within Apps such as Instagram for example and others.
You can't add attachments to email from the Mail program though, you have to open the photo and then select to mail it.
Offline
The button probably shouldn't work on the iPad either; maybe a bug on Apple's side that it's available at all. Cleanest solution is probably to hide the button on small displays (assuming that displays below a certain threshold are probably tablets of phones). Something like this ought to work ...
Give the button an id:
<button id="upload-button" />
Use CSS media queries to hide the button on iPads and smaller, in custom CSS file:
@media screen and (max-width: 1024px) {
#upload-button { display: none; }
} /* max-width: 1024px */
Offline
Pages: 1