Trouble autopopulating read only textbox on incrementing expression box value in repeating table - InfoPath Dev
in

InfoPath Dev

Trouble autopopulating read only textbox on incrementing expression box value in repeating table

Last post 03-12-2015 04:04 PM by jack eagly. 86 replies.
Page 2 of 6 (87 items) < Previous 1 2 3 4 5 Next > ... Last »
Sort Posts: Previous Next
  • 02-18-2015 11:42 AM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    I see, I will have to be explicit in my instructions for the form.  I thought about adding a dialog msg box so when user gets to h they know maybe not to insert a new row but it would probably be overlooked causing frustration anyways.

    You've been very helpful.

  • 02-18-2015 11:53 AM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Here is one more option - include all 8 rows by default. You'll need to preview the form to see this change that I made. Default values are under Form Data on the Data tab in the ribbon.

    Hilary Stoupa

  • 02-18-2015 12:05 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    I can't see the data tab, is it hidden?
  • 02-18-2015 12:16 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    No - it should be in the InfoPath Ribbon.


    Hilary Stoupa

  • 02-18-2015 12:24 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Is that an option in 2007?


  • 02-18-2015 12:26 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Yes, go under Tools > Default Data (I think that's where it is...)

    Hilary Stoupa

  • 02-18-2015 12:36 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    okay, it's tools, default values. Did you just check the boxes to turn on the default values?  I like it.
  • 02-18-2015 12:45 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    On repeating items, when you select the item, there is a little drop down menu. :)


    Hilary Stoupa

  • 02-23-2015 08:36 AM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    I'm trying to replicate your formulas however, I don't know which expression you are using to get /Name or /Code in the formulas below. Also not sure what you did on the last formula to get /../../

      
    Situation_1")/SubPara/Situation[count(current()/preceding-sibling::my:group3) + 1]/Name

    concat(xdXDocument:GetDOM("Situation_1")/SubPara/Situation[count(current()/preceding-sibling::my:group3) + 1]/Code, ".")

     
    Name[Number = count(current()/../../preceding-sibling::group3) + 1]
     
    Thank you.
  • 02-23-2015 10:17 AM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    If I include the eight rows by default, can I still add optional repeating sections below?  I tried in the attached however the first instance is the only one that provides the option to insert and the other that default all have included the first instance of option insert.  These paragraphs may not be populated all of the time so I'm trying to only allow the user to insert item if needed.  Thanks.
  • 02-23-2015 11:51 AM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Sorry, I'm sort of confused. Can you show me what you are trying to achieve? Like a screenshot or a word doc or something? The XPath question above, I just manually write these - I don't use the field picker in the formula editor.

    Hilary Stoupa

  • 02-23-2015 11:58 AM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Certainly, When using the code to automatically display the paragraph headers, when I add an optional section and a repeating section beneath each paragraph the first one is hidden yet all of the other paragraphs the option is not hidden.  I want the optional paragraphs to stay hidden unless I insert it.  I think I can just add them separately, it's just a lot of additional work to add 3 optional sections for 11 paragraphs unless you have a solution.  Thanks!


  • 02-23-2015 12:13 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Thanks - I understand now. You need to deselect the group you don't want included by default in each of the instances of "group3" in the Default Data settings.


    Hilary Stoupa

  • 02-23-2015 12:38 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Thank you so much very sneaky.  : )
  • 03-03-2015 11:33 AM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Hi Hilary, I'm trying to expand on this control a little. When I insert my rows down to letter h, at letter h when I add subparagraphs 1,2,3, I need to set default values but not until I get to h. Do you have something for that? Thanks.
Page 2 of 6 (87 items) < Previous 1 2 3 4 5 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.