Coder Social home page Coder Social logo

Comments (6)

jfoclpf avatar jfoclpf commented on June 3, 2024

@mcristaldo

should the fields not yet filled be visible? I mean, the fields at the end of the form should be visible right from the beginning? Or do you mean, that the next field is only visible when user presses Next?

from autocosts.

jfoclpf avatar jfoclpf commented on June 3, 2024

@mcristaldo
What do you have in mind, when for example, the user in the month field, which can be only an integer of 1 to 12, puts 1.5?

  • The next button doesn't appear
  • The next button appear and as it is pressed an alert appears with an error?

What do you think it's better?

from autocosts.

jfoclpf avatar jfoclpf commented on June 3, 2024

according to @mcristaldo it shoud work like this

  • The only visible field/s are the one related to the step (it could be one or more fields though), it means the one/s the user is completing
  • The user needs to complete the field before and click on Next to see the next question
  • The user can go back to the previous question already answered by scrolling up

from autocosts.

jfoclpf avatar jfoclpf commented on June 3, 2024

My question is, what do you mean by "complete de field"?

It is "complete correctly" or just insert some data?

It should be nice to avoid alerts. What about a faded out button, before it's correctly filled?

from autocosts.

mcristaldo avatar mcristaldo commented on June 3, 2024

I think we can prevent it by letting the user only enter the info we want. So for example for the month they should be able to enter a number from 1 to 12 only in their keyboard/phone.
If they type 1 and then they try to type a #4 to enter 14, it just won't work, is there a way to do that?
Although it would be nice to list all the months by name :/

from autocosts.

jfoclpf avatar jfoclpf commented on June 3, 2024

from autocosts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.