How To control CheckBox inside a repeating table - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How To control CheckBox inside a repeating table

Last post 01-23-2013 10:40 PM by Rajendhiran. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 03-01-2011 10:30 PM

    How To control CheckBox inside a repeating table

     Hi Experts,

    I have a repeating table which auto populates data from share point list. inside repeating table i have a check box column.

    My Requirement: when i populate the Repeating table ,i should be able select(check/uncheck the check box) each row.

    Issue Facing:now the issue i'm facing is when i check one check box all check boxes are getting checked and unchecked.

    Can anyone please assist me on this .how can able to check the check box in each row individually.

    Subhash Reddy.
  • 03-03-2011 04:19 AM In reply to

    Re: How To control CheckBox inside a repeating table

    What does your schema look like? It sounds like there is an issue with the binding of the checkbox control. Could you post a screenshot of the data source (use the Options tab when replying to attach)?
    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 03-03-2011 05:38 PM In reply to

    Re: How To control CheckBox inside a repeating table

     Hi Ernesto M,

    Thanks For your reply .

    the steps i followed are like this

    • The form i used  using is default blank template and created a data connection to receive data from share point list .after getting secondary data source just dragged and dropped the secondary data source on to the blank form ,then I'm asked to use various controls in which i selected repeating table .after that i added a column o this repeating table and placed a check box control in the column.i have not set any binding to this check box control.

    please assist me on this my project is completely dependent on this info path form and Am fairly new to info path :(.I'm attaching the screen shot of the data source please look into it and do the needful.

    Thanks In advance.


    Subhash Reddy.
  • 03-04-2011 09:47 AM In reply to

    Re: How To control CheckBox inside a repeating table

    The steps you have described above will not work. Since the data comes from a secondary data source, you must copy the 2DS data to the main data source first, and then add another column (the checkbox). Then you won't encounter the issue you've seen.

     

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 03-06-2011 05:35 PM In reply to

    Re: How To control CheckBox inside a repeating table

    Dear ErnestoM,

    Thank you very much for your quick response.

    Now i clearly understand that i need to copy seccondary datasource to primary datasource to fix my problem..can you please assist me on copying secondary data source to primary data source,Iam new to Infopath.

    thanks in advance.

     

    Subhash Reddy.
  • 03-14-2011 05:08 AM In reply to

    Re: How To control CheckBox inside a repeating table

    You could try to use the CopyTable command in qRules (see more here). Maybe it'll work for you!

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 08-02-2012 10:49 PM In reply to

    Re: How To control CheckBox inside a repeating table

    ErnestoM:
    The steps you have described above will not work. Since the data comes from a secondary data source, you must copy the 2DS data to the main data source first, and then add another column (the checkbox). Then you won't encounter the issue you've seen

    Do I undersand correctly that 2DS is the synonym of "secondary data source"?

     

    Gennady Vanin (Novosibirsk) --- Геннадий Ванин (Новосибирск)
  • 01-23-2013 10:40 PM In reply to

    Re: How To control CheckBox inside a repeating table

    Hi subhashgabgidi, I think you can disable other checkboxes if one of them is checked. Please follow below steps to put conditional format for checkbox. 1) Select ‘The Expression’ from first drop down. 2) Use the below condition in second text box. count(current()/preceding-sibling::my:group1/my:field1[. = "true"]) > 0 or count(current()/following-sibling::my:group1/my:field1[. = "true"]) > 0 3) Check ‘Disable this Control’. Here 'group1' is repeating table and 'field1' is checkbox. Hope this helps. URL Reference: http://social.msdn.microsoft.com/forums/en-US/sharepointcustomizationlegacy/thread/61834b16-368a-46b4-9e4f-47ee5b5c4721/ Regards, Rajendhiran.M
Page 1 of 1 (8 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.