HTML Form in-place Editing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • makeveli
    New Member
    • May 2010
    • 2

    HTML Form in-place Editing

    I have an HTML form (form #1) which uses a java servlet to save customer data through textfield/checkboxes/drop down field values to a mysql database. On the same page i also have a search facility that will search and show the results of a customer search in a small table on the same page using another servlet. Once the table populates with results, i have an onclick function that will highlight the row(s) that the user will select. Now my purpose is to populate the same customer form (form #1) based on the user selected row.

    Meaning, I am giving option to the user to click once on the row(s) of the search result table and to edit that particular customer(s)'s data, they will double click which will trigger another (form #2) that will do a search on the customer's particular ID (primary key) using a java servlet that will search the particular database and table with the provided ID and based on that, I want to populate the form#1 so that if the user wants to edit their data and re-save they can do so. sounds complicated? not so much...remember ing what i really want to know is how to repopulate a form with javascript using double click. I've tried using a hidden field that will save this ID and pass it on to the servlet, for some reason its not working. Perhaps you guys are better aware of in-place html form editing than me, because i've scoured the net fruitlessly. And this is something that developers can really use, i mean how come this is not common?
  • makeveli
    New Member
    • May 2010
    • 2

    #2
    Hey, what is the turn around time for a response here? can someone tell me? Is it more than 24 hours? if so, how long? 2 days, 3 days?

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Originally posted by makeveli
      Hey, what is the turn around time for a response here? can someone tell me? Is it more than 24 hours? if so, how long? 2 days, 3 days?
      Can you show the code that you've tried? You can pass the ID to the servlet, e.g. servletpage?id= 1 (assuming it is generated by the original servlet which displays the results in the table).

      PS. response time can vary from a few seconds, minutes, hours, days, weeks, months, even years to never for a variety of reasons that I won't go into here.

      Comment

      Working...