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.

How do i get forms to submit

Featured Replies

www.elitetradesmen.com

 

 

 

I have had help from someone regarding getting my forms to submit. he set up this page http://www.elitetradesmen.com/contact2.php which works fine so i have tried to use his code to make the rest of the forms on my site work. I've clearly done it wrong but i'm completely stuck and don't know where i'm going wrong. I would really appreciate it if someone could have a look at the following pages on my site and fix them for me or explain in detail how i do it.

 

 

 

http://www.elitetradesmen.com/101.php

http://www.elitetradesmen.com/102.php

http://www.elitetradesmen.com/103.php

http://www.elitetradesmen.com/Registrationform.php

http://www.elitetradesmen.com/Searchtrades.php

http://www.elitetradesmen.com/Searchtrades1.php

 

 

 

The other problems i'm having are:

 

 

 

How do i link to the thank you pages i've uploaded when i submit form

 

Check box agreeing to terms to still work with send button on php pages

 

The text on the button changed from email to submit

www.elitetradesmen.com

 

 

 

I have had help from someone regarding getting my forms to submit. he set up this page http://www.elitetradesmen.com/contact2.php which works fine so i have tried to use his code to make the rest of the forms on my site work. I've clearly done it wrong but i'm completely stuck and don't know where i'm going wrong. I would really appreciate it if someone could have a look at the following pages on my site and fix them for me or explain in detail how i do it.

 

 

 

http://www.elitetradesmen.com/101.php

http://www.elitetradesmen.com/102.php

http://www.elitetradesmen.com/103.php

http://www.elitetradesmen.com/Registrationform.php

http://www.elitetradesmen.com/Searchtrades.php

http://www.elitetradesmen.com/Searchtrades1.php

 

 

 

The other problems i'm having are:

 

 

 

How do i link to the thank you pages i've uploaded when i submit form

 

Check box agreeing to terms to still work with send button on php pages

 

The text on the button changed from email to submit

 

Ok - To change the text on your button, add html: value="Submit".

	
<input type="submit" value="Submit" />

 

This is what i have at the bottom of my PHP script to redirect to thanks or error pages.

// Send the email.
$success = mail($SendTo, $Subject, $Body, $Headers);


// Redirect to success page(ok.html) or error page(error.html).
if ($success)
{header( "Location: [url="http://www.yourdomain/ok.html""]http://www.yourdomain/ok.html"[/url] );}
else 
{header( "Location: [url="http://www.yourdomain/error.html""]http://www.yourdomain/error.html"[/url] );}

 

Hope this helps mate.

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.