DEV Community

Small bits of web UX

stereobooster on September 09, 2018

I'm not sure how to call those. This good tone for web experience. This is not a11y. This is rather what people expect from the good website. ...
Collapse
 
hossam_mo7amad profile image
حسام محمد^3

I loved the tips keep it awesome 👍👍🔥🔥 I just had a thought on
"Use GET redirect after successful POST submit"
I really like that, but Don't you think it would be better if I reset the form and give him a success alert. Because you know he may want to make more than one submission.

Collapse
 
stereobooster profile image
stereobooster

There is no limitation on what next page would be, you can redirect to the same page with the form, and success notification can be passed through session

Collapse
 
frantisekmasa profile image
František Maša

User can still submit form again using refresh.

Collapse
 
stereobooster profile image
stereobooster

Exactly why would you use redirect with GET, it will not submit form again.

Thread Thread
 
frantisekmasa profile image
František Maša

I reacted to the original comment ;)

Collapse
 
tux0r profile image
tux0r

If you use AJAX for submitting form instead of classical POST

Additional tip: Always use POST as a fallback!

Collapse
 
stereobooster profile image
stereobooster

You mean like graceful degradation for HTML forms? I'm not sure I understood you.

Collapse
 
tux0r profile image
tux0r

I mean: don't enforce AJAX. Additional, not "instead".

Collapse
 
ianandhum profile image
Anandhu Manoj

This post is going to be one of my reading list heroes! Very Useful information. Thank You.

Collapse
 
stereobooster profile image
stereobooster

After this post I thought - there should be somewhere place where these things are collected, I totally saw it before. And later I found it at nngroup.com/topic/web-usability/. There is plenty to read.

Collapse
 
moe64 profile image
Moe

this is super helpful! I really like this one, "GET request for searches"!