Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. would any of you be interested in this?

would any of you be interested in this?

Scheduled Pinned Locked Moved Web Development
javascripthtmldatabasecomtools
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nathan Ridley
    wrote on last edited by
    #1

    I have built an amazingly functional form control for web applications that build their front end using JScript. Basically, it allows you to build a full-featured, completely customisable form with fully configurable validation and error checking. You set up the javascript that is executed when they hit save or cancel, or add your own extra buttons to do what you want when they are pressed. You can have togglable sub-areas that only become visible when a certain field has a certain value in it, for example if a certain checkbox is checked, an extra set of fields becomes visible. The control will generate an xml object containing all of the data in the form and also specify in each node what the data type is (string, date or number). I also have a back end ASP script that you can pass the XML form to and it will automatically update a database table for you if you set up the form correctly. The form code is object-oriented, so you can easily derive your own types of fields to include in a form. I recently created a field object to allow the user to select any Australian suburb. Take a look at a form I have set up with this control: http://www.hep10.com/internal/form.gif[^] If any of you think this would (or wouldn't) be a useful contribution to The Code Project, please let me know before I spend a whole lot of time fixing up the code to be submitted as an article here. I find this extremely useful in rapidly putting together forms in my application as I don't have to write any form validation code, I don't have to create any back end code for processing the form contents, and I can rapidly build large forms with ease. Obviously this would not be useful for someone developing a form the standard way, i.e. with an HTML form tag and a submit button. Although, I suppose you could do some sort of roundabout trick where when they hit "Save" and then form-post the generated xml to the next page? Anyway, your thoughts are welcome. NATHAN RIDLEY Web Application Developer generalgherkin@yahoo.com

    B R B 3 Replies Last reply
    0
    • N Nathan Ridley

      I have built an amazingly functional form control for web applications that build their front end using JScript. Basically, it allows you to build a full-featured, completely customisable form with fully configurable validation and error checking. You set up the javascript that is executed when they hit save or cancel, or add your own extra buttons to do what you want when they are pressed. You can have togglable sub-areas that only become visible when a certain field has a certain value in it, for example if a certain checkbox is checked, an extra set of fields becomes visible. The control will generate an xml object containing all of the data in the form and also specify in each node what the data type is (string, date or number). I also have a back end ASP script that you can pass the XML form to and it will automatically update a database table for you if you set up the form correctly. The form code is object-oriented, so you can easily derive your own types of fields to include in a form. I recently created a field object to allow the user to select any Australian suburb. Take a look at a form I have set up with this control: http://www.hep10.com/internal/form.gif[^] If any of you think this would (or wouldn't) be a useful contribution to The Code Project, please let me know before I spend a whole lot of time fixing up the code to be submitted as an article here. I find this extremely useful in rapidly putting together forms in my application as I don't have to write any form validation code, I don't have to create any back end code for processing the form contents, and I can rapidly build large forms with ease. Obviously this would not be useful for someone developing a form the standard way, i.e. with an HTML form tag and a submit button. Although, I suppose you could do some sort of roundabout trick where when they hit "Save" and then form-post the generated xml to the next page? Anyway, your thoughts are welcome. NATHAN RIDLEY Web Application Developer generalgherkin@yahoo.com

      B Offline
      B Offline
      Blake Coverett
      wrote on last edited by
      #2

      Sounds very article worthy to me. By all means write it up. -- -Blake (com/bcdev/blake)

      1 Reply Last reply
      0
      • N Nathan Ridley

        I have built an amazingly functional form control for web applications that build their front end using JScript. Basically, it allows you to build a full-featured, completely customisable form with fully configurable validation and error checking. You set up the javascript that is executed when they hit save or cancel, or add your own extra buttons to do what you want when they are pressed. You can have togglable sub-areas that only become visible when a certain field has a certain value in it, for example if a certain checkbox is checked, an extra set of fields becomes visible. The control will generate an xml object containing all of the data in the form and also specify in each node what the data type is (string, date or number). I also have a back end ASP script that you can pass the XML form to and it will automatically update a database table for you if you set up the form correctly. The form code is object-oriented, so you can easily derive your own types of fields to include in a form. I recently created a field object to allow the user to select any Australian suburb. Take a look at a form I have set up with this control: http://www.hep10.com/internal/form.gif[^] If any of you think this would (or wouldn't) be a useful contribution to The Code Project, please let me know before I spend a whole lot of time fixing up the code to be submitted as an article here. I find this extremely useful in rapidly putting together forms in my application as I don't have to write any form validation code, I don't have to create any back end code for processing the form contents, and I can rapidly build large forms with ease. Obviously this would not be useful for someone developing a form the standard way, i.e. with an HTML form tag and a submit button. Although, I suppose you could do some sort of roundabout trick where when they hit "Save" and then form-post the generated xml to the next page? Anyway, your thoughts are welcome. NATHAN RIDLEY Web Application Developer generalgherkin@yahoo.com

        R Offline
        R Offline
        Rocky Moore
        wrote on last edited by
        #3

        I think it would make for a good article! Nathan Ridley wrote: I also have a back end ASP script that you can pass the XML form to and it will automatically update a database table for you if you set up the form correctly. This one I would question. There would have to be validation on the part of the server to protect it from hacks or plain transmittion errors. You would not want the data to go directly into a database without validation on the server. On question that comes to mind is how any business logic could be applied if it goes directly to the database? Rocky Moore <><

        1 Reply Last reply
        0
        • N Nathan Ridley

          I have built an amazingly functional form control for web applications that build their front end using JScript. Basically, it allows you to build a full-featured, completely customisable form with fully configurable validation and error checking. You set up the javascript that is executed when they hit save or cancel, or add your own extra buttons to do what you want when they are pressed. You can have togglable sub-areas that only become visible when a certain field has a certain value in it, for example if a certain checkbox is checked, an extra set of fields becomes visible. The control will generate an xml object containing all of the data in the form and also specify in each node what the data type is (string, date or number). I also have a back end ASP script that you can pass the XML form to and it will automatically update a database table for you if you set up the form correctly. The form code is object-oriented, so you can easily derive your own types of fields to include in a form. I recently created a field object to allow the user to select any Australian suburb. Take a look at a form I have set up with this control: http://www.hep10.com/internal/form.gif[^] If any of you think this would (or wouldn't) be a useful contribution to The Code Project, please let me know before I spend a whole lot of time fixing up the code to be submitted as an article here. I find this extremely useful in rapidly putting together forms in my application as I don't have to write any form validation code, I don't have to create any back end code for processing the form contents, and I can rapidly build large forms with ease. Obviously this would not be useful for someone developing a form the standard way, i.e. with an HTML form tag and a submit button. Although, I suppose you could do some sort of roundabout trick where when they hit "Save" and then form-post the generated xml to the next page? Anyway, your thoughts are welcome. NATHAN RIDLEY Web Application Developer generalgherkin@yahoo.com

          B Offline
          B Offline
          Bullschmidt
          wrote on last edited by
          #4

          Nathan, Nice looking screen shot and idea. And just for fun you may want to check out this semi-related open source thing: GenericDB by Eli Robillard http://www.genericdb.com and then click on the Tips link to see an example Best regards, J. Paul Schmidt, Freelance ASP Web Developer www.Bullschmidt.com ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...

          C 1 Reply Last reply
          0
          • B Bullschmidt

            Nathan, Nice looking screen shot and idea. And just for fun you may want to check out this semi-related open source thing: GenericDB by Eli Robillard http://www.genericdb.com and then click on the Tips link to see an example Best regards, J. Paul Schmidt, Freelance ASP Web Developer www.Bullschmidt.com ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...

            C Offline
            C Offline
            chr3681
            wrote on last edited by
            #5

            i think this would be well worth your time!

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups