home.social

#htmlforms — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #htmlforms, aggregated by home.social.

fetched live
  1. Quick Question about #HTTP #forms and @enhance_dev :

    If I have a page with a signin form called "/auth" and an API route called "/login" that the form POSTs to but the user supplied the wrong password, I want to respond with a 400 status, but also redirect the user back to the form.

    return {status: 400, location: '/auth', json: {error: 'some error'}};

    ^ this displays the /login page with an error

    #backend #htmlForms #webDev #web #js #javaScript

  2. Dear #Coursera,

    I know you offer courses on how to write #HTML, and on #UX. Then how hard can it be for your #frontEndDevelopers /#webdev personnel to write #unsubscribe #htmlForms that work?

    The screen shot included here shows your forum notification unsubscribe form. That button? Yeah, it DOESN'T work.

    Why?

    Because it requires #javascript. And it FAILS to say so.

    #Usability #UX #Accessibility