How to read data from hidden fields back to controls. - InfoPath Dev
in

InfoPath Dev

How to read data from hidden fields back to controls.

Last post 06-11-2009 08:51 AM by kminor. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 06-10-2009 09:52 AM

    How to read data from hidden fields back to controls.

     Hi everybody,

                              I am new to infopath. I have a problem with my infopath in my work environment.

    Problem:    I am having around 13 columns in a repeating table. It doesn't look good so i have decided to move some of the fields in to another section under the table. So now i am having 7 columns in repeating table and the rest are in section(Should not be the repeating section as per the requirement) under the table. I thought we could use 6 hidden fields in the repeating table to store data by using ADD ITEM button. Here the problem occured. The repeating table is holding the latest fields from the section every time. And I don't have any idea how to get those details back from repeating table(hidden fields) back to controls in the section when the particular row is selected.

                              Because all the controls in the section are related to repeating table. So from the manager perspective he should see all the details of that particular row while checking a checkbox or option before approve the form. That means when he/she check that box the controls in the section under the table should get all the details back from hidden fields in the repeating table. The form should be browser enabled.

                             Please let me know if i confuse you with my scenario and any help would be greatly appreciated.

     

    Thank you,

    Kalyan.

  • 06-10-2009 12:22 PM In reply to

    Re: How to read data from hidden fields back to controls.

    I'm pretty new to this as well, but I would suggest looking into master/detail sections.  It sounds like that would suit your situation well.  Good luck!

    -- Kelley
  • 06-11-2009 07:16 AM In reply to

    Re: How to read data from hidden fields back to controls.

     Thanks for your sugession kminor. I will try and i will let you know what happened.

  • 06-11-2009 07:47 AM In reply to

    Re: How to read data from hidden fields back to controls.

     Hi kminor,

                     It won't work for my requirement. Bcoz I shuld not use any data source before manager approves the form. That means i can't save the data from hidden fields to some where and retrieve it. I should submit after manager approves the form. Manager should be able to see the data when he click on a particular row or check box related to that row before he approves the form.

  • 06-11-2009 08:51 AM In reply to

    Re: How to read data from hidden fields back to controls.

    Could you instead submit to a data source, and include a field on the record to indicate whether a manager has approved?

    -- Kelley
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.