Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Dynamic hidden fields based from form textbox value

    I am attempting to combine several pages I am currently developing into a single page however i am having a little bit more difficulty then I thought I would. I am not sure if the below is even possible using ASP however the information others have given me suggest it is.

    Upon loading the page users select a country that selection is posted to the next page and some details are automatically entered in an form however I need to hide/show several different html tables and form objects however I am at a loss as to how to complete this. Could someone please provide a quick example of the logic required for this? I am sure it is quite an easy thing to do however I am struggling with this – I completed a similar task using JavaScript however I could only manage to hide a single object at a time and it worked intermittently.

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,133
    Thanks
    75
    Thanked 4,338 Times in 4,304 Posts
    Just WAY too general a question. Would need some specific details.

    As to your problems with JavaScript, only being able to hide a single object at a time--well, I'm afraid that just shows your lack of experience with JavaScript. There's no reason you couldn't have dozens of hundreds of objects on one page and show any number of them, from one to all.

  • #3
    New to the CF scene
    Join Date
    Nov 2009
    Location
    Bozeman, MT
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    deleting moving to other section
    Last edited by s_martin; 11-18-2009 at 06:48 PM. Reason: wrong section on forum


  •  

    Tags for this Thread

    Posting Permissions

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