Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Domain summit 2024

How can I force people to enter information

Status
Not open for further replies.

diskwizz

Level 4
Legacy Platinum Member
Joined
Mar 31, 2006
Messages
142
Reaction score
1
Hi guys, my site is not spammy or anything. It is used for official business purposes. However we need tpeople to enter certain info like email address on our submit form so that I can reply to them. You will be amazed how many forget to do this. But as I built the page myself there is no * asterix * so that when they hit submit it tells them they have not entered certain info.
Can anybody advise how I can implement this or is there a type of plugin that could help?

The page in question is here Page

Thanks in advance.
DW
 

David G

Internet Entrepreneur
Legacy Exclusive Member
Joined
Apr 15, 2002
Messages
5,755
Reaction score
63
Sending PM.

They likely don't forget but just don't want to give the info. I had the same problem where people are always reluctant to reveal their contact information on forms for some odd reason.

Why not post your advice here so we can all share in it instead of only by PM for the OPs benefit only?
 

adonivideo

Level 5
Legacy Gold Member
Joined
Apr 10, 2009
Messages
391
Reaction score
4
u make it [required-] in form
 

diskwizz

Level 4
Legacy Platinum Member
Joined
Mar 31, 2006
Messages
142
Reaction score
1
Hi Adoni. Cheers for that info. Could you possibly take a line from my script and show us an example of where [required-] would be placed in that script?

Thanks
 

Tia Wood

Web Developer
Legacy Exclusive Member
Joined
Jan 11, 2006
Messages
3,372
Reaction score
349
Why not post your advice here so we can all share in it instead of only by PM for the OPs benefit only?

I'm not giving advice. I am locking it down for him in PHP at no charge.

In Wordpress there is a plugin called Contact Form 7 that makes it easy to create required fields.

Other than that, there is really no advice to give. You either learn the language required or hire someone to lock it down.
 

Gerry

Dances With Dogs
Legacy Exclusive Member
Joined
Dec 3, 2006
Messages
14,985
Reaction score
1,302
You might also require a log in or email submitting form at the front end of your site.

Often a teaser blog or quick post on twitter, FB, or others with a link to your site will generate some traffic.

If you require log in (aka, registration) for your site you would get the info you need prior to the continuation with the site's offerings.
 

Ridge

Level 9
Legacy Exclusive Member
Joined
Feb 11, 2006
Messages
2,995
Reaction score
20
at gunpoint usually works.
 

diskwizz

Level 4
Legacy Platinum Member
Joined
Mar 31, 2006
Messages
142
Reaction score
1
Cheers for that Tia. Will go thru it all tomorrow. Off to bed now. Been a long day.

Thanks again.
 

adonivideo

Level 5
Legacy Gold Member
Joined
Apr 10, 2009
Messages
391
Reaction score
4
wrong code

<INPUT TYPE="TEXT" NAME="username" maxlength="100"> *

right code

<INPUT TYPE="TEXT" NAME="required-username" maxlength="100"> *


no programmers here huh
 

Tia Wood

Web Developer
Legacy Exclusive Member
Joined
Jan 11, 2006
Messages
3,372
Reaction score
349
It was done in PHP, not HTML. It's being submitted to a PHP page so I took care of it in PHP. More than 1 way to do things.....
 

adonivideo

Level 5
Legacy Gold Member
Joined
Apr 10, 2009
Messages
391
Reaction score
4
it's a simple form post in html, the required stops the form from parsing to the php unless it is filled in

and the action file has the same thing REQUIRED in the forms names

do what I say kiddo

the rest here don't do this stuff
 
Last edited:

Tia Wood

Web Developer
Legacy Exclusive Member
Joined
Jan 11, 2006
Messages
3,372
Reaction score
349
Sorry but your way is vulnerable and easily bypassed but thanks for sharing.


it's a simple form post in html, the required stops the form from parsing to the php unless it is filled in

and the action file has the same thing REQUIRED in the forms names

do what I say kiddo

the rest here don't do this stuff
 

adonivideo

Level 5
Legacy Gold Member
Joined
Apr 10, 2009
Messages
391
Reaction score
4
here's a simple php email script

REQUIRED is the code

PERIOD

http://www.freecontactform.com/email_form.php

you name the info required in html and you put required in the email script

REQUIRED is the code

it's a simple form post

nothing major
 

Tia Wood

Web Developer
Legacy Exclusive Member
Joined
Jan 11, 2006
Messages
3,372
Reaction score
349
It's already complete but thanks.
 
Last edited:

diskwizz

Level 4
Legacy Platinum Member
Joined
Mar 31, 2006
Messages
142
Reaction score
1
Just want to thank Tia in public. I dont know the woman and she obviously didnt know me. I'll admit I was skeptical of handing over domain login details and would have not have done so had it not been for her posts rating.
What she did has worked perfectly and needs little if any adapting for me to use on my other pages too. Although this was done out of the goodness of her heart I would have no hesitation in paying her to do future work.
Thanks again Tia.
 

dmyre

Level 9
Legacy Exclusive Member
Joined
Apr 6, 2002
Messages
2,685
Reaction score
70
I've seen javascript used to popup a form that couldn't be removed until the forms are filled out.
It allowed you to still see some of the page in the background, but it's somewhat greyed out.
Has anyone used anything like this?
 

Tia Wood

Web Developer
Legacy Exclusive Member
Joined
Jan 11, 2006
Messages
3,372
Reaction score
349
Thank you, Pete. It was a pleasure. :)
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Sedo - it.com Premiums

IT.com

Premium Members

AucDom
UKBackorder
Be a Squirrel
MariaBuy

New Threads

Our Mods' Businesses

URL Shortener
UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom