Infopath - radio button inrepeating table - InfoPath Dev
in

InfoPath Dev

Infopath - radio button inrepeating table

Last post 03-10-2013 11:48 AM by mattjoseph. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-28-2013 09:57 PM

    Infopath - radio button inrepeating table

    I have one repeating table where Iam adding one radio button.In my design, there will be only one readio button. My problem is when the rows are generated dynamically with radio button, I want to restrict user to select only one radio button. Currently user can select all radio button.
  • 03-01-2013 07:40 AM In reply to

    Re: Infopath - radio button inrepeating table

    So - no offense, but this strikes me as a sort of weird design - wouldn't you just use a checkbox instead? and then you could add some rules to make the other checkboxes read only if one was selected...
    Hilary Stoupa

  • 03-01-2013 08:39 AM In reply to

    Re: Infopath - radio button inrepeating table

    Hi Hilary, Thanks for quick reply. I already have validation expression logic to make my radio button disable when user selects one radio button, but i don't want to disable radio button becz i am providing flexibility to user t change his option :( is there any way other than disabling :( count(current()/preceding-sibling::my:group1/my:field1[. = "1"]) > 0 or count(current()/following-sibling::my:group1/my:field1[. = "1"]) > 0 Check ‘Disable this Control’. Here 'group1' is repeating table and 'field1' is radio button. this will disable other radio when user selects any radio button.
  • 03-04-2013 10:58 AM In reply to

    Re: Infopath - radio button inrepeating table

    So - I guess what you need is to set the other radio buttons to cleared state whenever a given radio is clicked. Here's a sample that does this - it could probably be refined a bit - I'm using a couple of helper fields for the logic.
    Hilary Stoupa

  • 03-10-2013 11:48 AM In reply to

    Re: Infopath - radio button inrepeating table

    Thanks Hilary, It got worked :) thanks for ur help :)
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.