2 Replies Latest reply on Oct 12, 2010 8:53 AM by Mrsunilg

    can i submit only those fields data which are got updated or changed?

    Mrsunilg Level 1

      Hi,

       

      I want user to change the details of a form( form is already filled with data).

      can i take only updated fields values in xml, and submit it using servlet.

       

      scenario: In a form, i have three fields a. FirstName b. MiddleName and c.LastName. User is told to update his detail. He/she changes only MiddleName detail and clicks on submit button. Then can i submit a form to servlet containing only Middle Name.

       

       

       

      Regards

      Sunil

        • 1. Re: can i submit only those fields data which are got updated or changed?
          Steve L Walker Level 5

          Sunil,

           

          I don't believe it is possible submitting XML. For XDP submission there is an xdpContent property on the submit method that appears to support object selection.

           

          I am curious as to why you would want to do this. On the client side it introduces a lot of script in the form to determine which fields have been changed and then to dynamically build the submission. On the server side you will have to have a unique servlet for each unique update.

           

          Steve

          • 2. Re: can i submit only those fields data which are got updated or changed?
            Mrsunilg Level 1

            because my form may be a very big form. And user could have requested a already submitted form to update few fields only. If let say way we have thousands of fields which has already submitted by user and now user want to update only 2-3 fields. Then we need to submit entire form. but i am lookin a senarios wehre i can update 2-3 (updated fields) only. so that less bandwidth communication channel is required to update that.

             

            hope you got it i wnat.