Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Contact Form in PSD

Featured Replies

Hi Guys,

 

I wonder if anyone can help, I'm trying to build a portfolio up and am doing a few free sites for family and friends to enable me to learn a bit more, build my confidence and also build my portfolio up. I have built many websites which have included contact php forms but I am stuck with my current project.

 

My friend has sent me a mock up in Photoshop which is fine, I have started putting css together and the site is coming along nicely, however I have no idea on how to code the contact form.

 

The contact form is an image which is a basic square with fields for Name, Email & Mobile No; how do I transfer that to css and make it so that visitors to the site can type in the relevant fields and then submit the form? I have searched on the web and it looks as though it is possible however I can't see any "simple" instructions on how to get it functioning, I have just found templates of the contact .psd's themselves...Would really appreciate it if anyone could shed some light... Hopefully I have explained myself properly.

 

Thanks

Kelly

A contact form can have an "action" using a viewer's email client or by using PHP to send it direct from the website server. The first method is simple but not recommended because it won't work if the viewer doesn't have an email client like Outlook or if he is in an internet cafe and there are spamming risks.

 

The PHP type needs a website with a Linux server (usually) and there are lots to download which have anti-spam security built in, like

http://www.email-form.com/

http://jemturner.co.uk/scripts/free-php-mail-form/

http://www.formmail.com/

 

You will still have to set up the html markup including the action to a separate PHP file, but I expect the above examples will give you an example to edit.

  • Author

That's great, thanks very much for your help!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.