Button to set txtbox value in one row of repeating table - InfoPath Dev
in

InfoPath Dev

Button to set txtbox value in one row of repeating table

Last post 11-21-2013 08:47 PM by donstephen. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-21-2013 06:49 AM

    Button to set txtbox value in one row of repeating table

     I have a repeating table setup for a number of plants that drivers at my company go to refularly. The way they curreently use the form is handwritten, however they now have mobile devices that can access a web form when they arrive at and leave each plant. The problem is, if they have to type, their not going to use it, so I wanted to setup a button to put in the arrival date and time automatically for them. Each row is populated with 1 plants information in the first column, the second column contains the arrival date, next would be picup info and then departure date. I can't for the life of me figure out how to have the button only change the instance arrival date/time and not every plant date/time. I'm attaching a screenshot to show what I want to occur, the current screenshot is showing incorrect values in the date/time for all the rows as I was trying what was suggested in this post http://www.infopathdev.com/forums/p/20486/70950.aspx and so I had setup a rule on the button as in the screenshot.

    Field - dteArrive

    Value -  concat("SetValue /my:myFields/my:ArrivalInfo/my:dteArrival /value=", now()), except that doesn't work.

    How can I set the arrival and departure time for only one instance in such a list? I could do each section as non-repeating, but we have over 100 plants, spread out over 5 or 6 forms, and I'd just as soon use a repating table so I don't have to do every single one individually.


  • 11-21-2013 08:47 PM In reply to

    Re: Button to set txtbox value in one row of repeating table

    Hello Unatco99,

    I'm not sure how you have configured your form so I'm attaching a sample form which has buttons that set the date and time for each row instance. Hope this helps.

    Don Stephen Lambatin / Support Engineer
    Qdabra Software
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.