dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Select Inputs dynamic changes with Niceforms

  1. #1
    Join Date
    May 2010
    Posts
    1

    Select Inputs dynamic changes with Niceforms

    Hello,
    I have a huge problem that I cannot solve. I built my site using a lot of forms, which I styled using Niceforms script (you can read about it on http://www.emblematiq.com/lab/niceforms/).

    How Does It Work?

    The idea is simple: since normal input fields (including radio buttons, checkboxes, textareas, etc) can only be styled to a small degree, they have to be hidden and their visual appearance replaced with similar working, new, fully customizable constructs. In theory, that doesn't sound really complicated. But from theory to practice there is a long way.

    Starting with the basic XHTML code for a web form, Niceforms parses the DOM tree, gets all the input fields, hides them, and positions their new graphical appearance in place. All this is done while preserving the date transfer and selection features of the regular form. Everything is done via javascript.
    But after I finished my work, I realized that I cannot use dynamically changing select input. (you have to choose an option from first input to be able to choose an option from second one).
    Here you can see what I'm talking about:

    How it should works:
    http://shdw.pl/tmp/niceforms-problem/good.html

    My styled form:
    http://shdw.pl/tmp/niceforms-problem/wrong.html

    In fact it works fine with my form too, but you just cannot see this, because real input is hidden under styled one, that just don't change how I want it to.
    Does anyone know a solution how to get this thing work? How to change it dynamically without reloading a page?

    Thanks, Regards,
    Kamil

  2. #2
    Join Date
    Apr 2012
    Posts
    1
    Hello! Any can could solve this? im stuck in the same problem!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles