Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Disable bootstrap tabs question

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #241291
    wolfgang1983
    Participant

    I am using bootstrap tabs on my form

    The first tab is where the user will fill in some input fields.

    What I am after is until the input fields are filled on the 1 step the other step 2 and 3 tab should be blocked and so on. And then when have clicked on file to upload on step 2 then step 3 will be unblocked.

    How could I do something like that with javascript any examples?

    http://codepen.io/riwakawebsitedesigns/pen/qZQQrO

    #241326
    danugi.4u
    Participant

    Form validation

    Here is an example from w3schools:

    http://www.w3schools.com/js/tryit.asp?filename=tryjs_validation_js

    Hit submit w/out any entry and it will pull an alert.
    Just add the other fields and it should work for you.

    #241327
    wolfgang1983
    Participant

    @Danugu.4u not what I am after.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.