Questions tagged [forms]

Interface elements that allow a user to input data.

Filter by
Sorted by
Tagged with
47 votes
10 answers
9k views

Why do websites have a contact form? isn't an email address enough?

What's reason behind having a contact form on a website, when a simple e-mail link is enough? Why do so many web sites have contact forms? Is it just a habit?
jao's user avatar
  • 593
28 votes
8 answers
5k views

Should I replace fillable PDFs?

I work for a company that has hundreds of forms in fillable PDF format on our website. We run into issues constantly because web browsers love to open PDFs in browser instead of opening the files in ...
TheIronCheek's user avatar
25 votes
5 answers
6k views

How can I tell if my website visitors are using LastPass or other password managers?

I want to make sure visitors to my website have the best experience possible so I want them to be able to use LastPass and other Password Managers. Is there any way of identifying whether or not my ...
cgarvey's user avatar
  • 353
17 votes
7 answers
5k views

Are there other options besides HTTPS for securing a website to avoid text input warnings in Chrome?

One week ago Google sent me an email to go HTTPS. If I won't transfer HTTP to HTTPS then it will show my connection unsecured to all of my site visitors who will try to input text in my site. Without ...
Hasan M. Naheen's user avatar
17 votes
6 answers
2k views

Form label position for best usability

I'm creating a form that will ask a visitor for their firstname, middle initial, and lastname. I want the those text fields to be all inline, but where should I place the labels? On the left, top, or ...
Shane Stillwell's user avatar
16 votes
2 answers
14k views

What countries require a state/province in the mailing address?

I'm creating a form and want to require / hide the state/province field based on the selected country. What countries require a state in the mailing address? For example, the United States does.
hookedonwinter's user avatar
12 votes
3 answers
38k views

Is it valid to have multiple form input elements with the same name?

Is it valid markup and is it valid to the HTML/HTTP spec? If I wanted to have <form> <input name="email" /> <input name="email" /> <input name="email" /> </form> is ...
Ryan Detzel's user avatar
11 votes
5 answers
584 views

User Registration forms— Do we need a user name?

Lets say we are designing a new website's registration form. Would I need to provide a space for a username, or should I simply require an email address? Are there any serious issues with either of ...
Incognito's user avatar
  • 1,332
10 votes
3 answers
3k views

Do Search Engine Spider's submit POST forms?

If I have content behind a POST form (a select box, in my case) will Googlebot, or other Search Engine Spiders be able to crawl the content behind that form? For example, if I were to have 4 ...
nathangiesbrecht's user avatar
9 votes
2 answers
3k views

How should I handle the problem of people entering others' e-mail addresses without annoying them with "verification" e-mails?

I have forms on my in-development website which require the person to enter an e-mail address. I don't want to have to send them a "verification" e-mail with a URL containing a code, or ...
P Sarauer's user avatar
  • 107
9 votes
2 answers
18k views

How to make browsers offer to remember passwords

What properties login form needs to have to trigger "remember password" for all (or most) browsers? Background: For years I have been using Opera, and the rule has been that almost anything that ...
Alois Mahdal's user avatar
8 votes
3 answers
8k views

Is a "Show Password" option on login form safe?

A website I use occasionally has had a recent overhaul and added a "Show" checkbox next to the password field on their login form. I understand why some ppl want these when they're actually typing ...
SSilk's user avatar
  • 297
8 votes
1 answer
571 views

What do I need to do to make my site compatible with Safari's iCloud Keychain so that it saves passwords?

I've noticed that a vendor's web application triggers Safari's "suggested password" feature at "create password" forms, but does not actually save this password when the form is submitted. That is, ...
NReilingh's user avatar
  • 143
7 votes
3 answers
160 views

What kind of spam is this on our form?

We're receiving a lot of spam that looks like this: Form field 1 (textfields): duYYAJPNaMVsC Form field 2: icDiQOVRy Form field 3: uSDzPEObWIrTsCidma Form field 4: ODscxPiiqj ...
Emil S.'s user avatar
  • 95
7 votes
1 answer
3k views

GDPR compliant contact form

As of May 2018, the General Data Protection Regulation (GDPR) will come into affect and I am wondering how best to comply with this when implementing a simple contact form. The form, lets say, ...
Alexander Holsgrove's user avatar
6 votes
1 answer
238 views

Best way to let users enter 'infinity' in a html form

I have a form with a field "quantity" which can have the value "unlimited / infinity": Quantity: [ ] What would be a good way to let users enter "infinity"? Some ideas: 1) Tell the user that -1 ...
deamon's user avatar
  • 203
6 votes
4 answers
379 views

How should I deal with a 'Contact Us' Form?

Often you'll see websites with a "For any questions, please contact us..." followed by a box for your name, email, subject, maybe some invoice data... When should these be implemented on a website? ...
Incognito's user avatar
  • 1,332
6 votes
2 answers
932 views

Does a contact form need to ask the user for explicit permission to be GDPR compliant?

I have read about GDPR compliance for forms, and from my understanding a contact form is compliant if it has: A tick box (unchecked) clearly saying we will contact you back regarding your query OR if ...
Learning's user avatar
  • 711
6 votes
2 answers
3k views

Why is Facebook Pixel firing the gtm.formSubmit event?

I have a Google Tag Manger container that contains a Facebook Pixel injector tag and a regular form submission tag (with standard form submission trigger). However, when the submit button of a form is ...
Bobe's user avatar
  • 241
6 votes
1 answer
2k views

Is it considered spam to set "From: " header to the user's email in a contact form?

I developed a contact form on a client's website. When a user submits it, the client gets an email. Is it considered as spam (or against best practices) when emails sent from a website form have From:...
Cristian's user avatar
  • 265
6 votes
2 answers
2k views

How to protect a form from spam? [duplicate]

I have compiled a list of items that may protect a web form from span. Which are actually effective? Please feel free to add additional items. Store a code as a hidden field and verify it when ...
Hoytman's user avatar
  • 459
6 votes
3 answers
3k views

Alternative to Instant Form Pro [closed]

I was looking for a PHP form generator this morning and ran across "Instant Form Pro" by Joel Comm (http://www.instantformpro.com). It looks like it offers what I'm looking for (easy to use quick form ...
WebDevKev's user avatar
  • 379
6 votes
1 answer
250 views

Are send to a friend features in websites obselete?

Often I am asked to create send to a friend forms for websites where a user can enter a few of their friends email addresses to which a URL is forwarded via email. My question is now that we have so ...
Treffynnon's user avatar
6 votes
4 answers
663 views

Why do websites require retyping the password upon user error in a registration form?

Many times, when you fill out a registration form and miss a required field, the form reloads with all the fields filled out except for the password which you have to retype. I'm wondering if I ...
escargot agile's user avatar
5 votes
5 answers
520 views

Why don't websites have contact emails? [duplicate]

I find websites having a contact form which you must put in your own email address. It is frustrating because I would rather send an email my self. What is the rationale for doing this and not ...
user avatar
5 votes
3 answers
19k views

Why doesn't autofocus="autofocus" work in Mozilla Firefox?

<INPUT TYPE=TEXT NAME="Gw" MAXLENGTH="225" size="42" autofocus="autofocus"> If I try this with Google Chrome it works. I just want to highlight a form without <script>. Why doesn't it ...
LanceBaynes's user avatar
5 votes
2 answers
19k views

Prevent form resubmit after Browser Back button click

In the early days of the web it was a problem that clicking the browser's Back button after clicking Submit could cause the form to be resubmitted so one might, for instance, end up with a double ...
Roger Dahl's user avatar
4 votes
2 answers
220 views

HTML5 <form> autocomplete Attribute

What is the point of the autocomplete attribute? Isn't it bad practice to tell your users how their browser should work to fill a form?
Manu's user avatar
  • 189
4 votes
2 answers
16k views

Alternative to Google Forms? [closed]

I'm looking for a web app I can install to allow users to create simple forms, collect responses, and extract the data (e.g. as a CSV spreadsheet) in order to track travel, expenses, etc. Any ...
david-ocallaghan's user avatar
4 votes
1 answer
159 views

New to website form validation

I'm new to form validation and I have been lucky over the years. I would like to update my method of form creation in my sites. I was curious to know what is standard and if there is a preexisting ...
DᴀʀᴛʜVᴀᴅᴇʀ's user avatar
4 votes
2 answers
5k views

Form autocompletion not working

I created a HTML form with several input fields, nothing special. Using the most recent version of Google Chrome and Firefox autocompletion works for all form fields which means that whenever I want ...
Nick's user avatar
  • 158
4 votes
1 answer
852 views

Is content in option tags indexed?

Is data inside an <option> tag indexed? For example, would the following option tag allow "Volvo", "Saab", "Opel" and "Audi" to be indexed by a crawler? <select> <option value="...
Silfverstrom's user avatar
4 votes
4 answers
2k views

Google Analytics Goal with Radio Selection and Onclick Event

I'm trying to create a goal in Google Analytics that tracks the type of account being created in our system. Unfortunately, the URLs aren't definitive to the type of account creation, and the only ...
czmudzin's user avatar
  • 531
3 votes
4 answers
3k views

Is it correct to just keep gender as male/female?

When designing a form that asks for a person's gender, should I take any special consideration for hermaphrodites or trans-gendered persons, or is M/F good enough? Is defaulting the gender offensive ...
Incognito's user avatar
  • 1,332
3 votes
3 answers
359 views

Where do you get data to populate a suggest-box with Country, State, City and Zip Information?

I'm trying to create some dialogs in my web-app that can auto-suggest possible Countries, States, Cities and Zips in a form. I was planning on storing this information in a database, and making calls ...
leeand00's user avatar
  • 1,101
3 votes
3 answers
159 views

How to safely collect bank account from website and without an external gateway payment system

I want to collect bank account information from my customers on my website. I would like to do this using a online form, then I will download it to a PC, print it and then delete it from the website. ...
Alexandru Trandafir Catalin2's user avatar
3 votes
1 answer
446 views

406 Not Acceptable response

I'm getting a 406 Not Acceptable response from a GoDaddy Shared Apache server upon making the following request through posting a form directly from the browser: HEADERS: Host: url User-Agent: ...
helloworld's user avatar
3 votes
4 answers
291 views

Removing CAPTCHA is harmful for my forms?

I have some services on my site that developed by PHP , it seems having CAPTCHA in my registration form is decreasing registering users , I tend to remove CAPTCHA at least on my registering form , is ...
Ramin's user avatar
  • 163
3 votes
3 answers
740 views

Auto subscribe checkbox on registration

What are the laws on this? If I have a simple registration form, can I have underneath it: [x] Subscribe to the blog [x] Email me when a new release is issued Auto checked? Or do they need to be ...
Tom Gullen's user avatar
  • 2,390
3 votes
1 answer
198 views

Form submission tag not fired

I want to create a goal from google tag manager and link it to google analytics goal event then link it to google ads for Target CPA. I added all images here. I don't know which part I did wrong (...
akhbarejadid's user avatar
3 votes
2 answers
164 views

Looking for a good script to handle fill-in forms on a non-CMS website

We have a website which is mostly HTML pages, in other words, not CMS based. The way we handle fill-in forms is through an ancient script that comes with the web hosting. It requires a separate text ...
paulmorriss's user avatar
  • 15.4k
3 votes
2 answers
7k views

Which online form builders offer conditional logic/branching?

I have a survey with the following form fields: Country Age Male/Female Undergraduate/Graduate Question? Yes No If No, what about this and that? Yes No Google Forms and SurveyMonkey don't ...
Hari Sundararajan's user avatar
3 votes
1 answer
35 views

How can I activate a suggestion box on form fields for improved UX? Does this relate to autocomplete="on"?

I have a contact form with six or seven fields. The user may fill out the form on multiple occasions though, each time, the information they enter on all but the last field is likely to be the same. I ...
Rounin's user avatar
  • 2,335
3 votes
1 answer
187 views

Can I block Tor users from sending spam on my form?

Can I use .htaccess to kill any message coming from a Tor IP, or should I make a script on my mailer? I've got $IP = $_SERVER['REMOTE_HOST'] ?: gethostbyaddr($_SERVER['REMOTE_ADDR']); and I checked ...
james gasrdner's user avatar
3 votes
1 answer
121 views

Using user email address as "From Name" and domain email as sender in contact forms?

We have a contact form with an email address field. Let's say [email protected] will send an email using our contact form. When it's submitted this is what the headers would look like: From: "user@...
IMB's user avatar
  • 309
3 votes
3 answers
1k views

we choose to use tables to layout web forms: (how) can we make them valid/accessible?

we are building a site with dozens of very complex forms and we decided that the best solution for us is to make them using <table> but we are worried about accessibility and standards. what i ...
skyline26's user avatar
  • 447
3 votes
1 answer
555 views

Where are the messages sent by a Joomla contact form?

Where can we find the messages sent by the users using contact form in Joomla 2.5? I just activated the contact us page in the menu. While testing it, after filling all the fields and submitting the ...
tejdeep's user avatar
  • 31
3 votes
2 answers
127 views

Form development optimization

Like many web developers I do forms all the time. I found myself doing the same all the time: placing input fields, assigning a name to each, ajax the form, then create the PHP which involves to ...
Juan's user avatar
  • 131
3 votes
1 answer
413 views

Webform Email Does Not Pass DMARC

I am setting up DMARC, SPF and DKIM records for the first time. I'm using WordPress, Elementor, SiteGround, and Google Workspace. When submitting a Form from my website, sent from arandomemail@mysite....
Nate Gervenak's user avatar
3 votes
1 answer
69 views

Standard or common way to secure a destination-email-address of a client-side contact-form

I have a website with a minimal, client-side HTML-CSS-JavaScript contact form but I desire to hide the destination email address of that form from the HTML source code so that form users would not be ...
user avatar