Example: Prevent 'blue highlighting' and buttons to add and remove repeating rows/sections. [IP2003] - InfoPath Dev
in

InfoPath Dev

Example: Prevent 'blue highlighting' and buttons to add and remove repeating rows/sections. [IP2003]

Last post 03-02-2009 07:31 AM by drake. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 01-20-2009 03:57 AM

    • Skarn
    • Top 50 Contributor
      Male
    • Joined on 04-20-2008
    • Australia
    • Posts 198

    Example: Prevent 'blue highlighting' and buttons to add and remove repeating rows/sections. [IP2003]

    Hi,

    Don't you just hate the blue highlighting and the way a form 'jumps' if you accidentally click a 'blue' inflicted section.

    I have attached a demo form (Infopath 2003) with some instructions on setting up a view with repeating sections or tables to never have any blue highlighting and also use buttons to add and remove rows or repeating sections without complex code. 

    There is a good solution blog here: http://www.infopathdev.com/blogs/hilary/archive/2009/01/11/a-cure-for-the-blues.aspx but my demo does not even highlight the table/section and allows for using buttons to add/remove in an easy fashion.

    The code involved only requires a small adjustment for each repeating section/row (literally 1 word changed) and consists of only 4 lines or so in total which is copy and pasted where needed.

    The 'setup' and Infopath skill required per view is fairly easy also, and only requires the ability to create sections, set conditional formatting, etc which should all be simple for intermediate form designers anyway.

    I apologise if the instruction is confusing, please feel free to ask me questions - as far as I know, if you can follow the way it's done, it alway works, and gets easier and easier every time.

    Skarn

  • 01-20-2009 07:49 AM In reply to

    Re: Example: Prevent 'blue highlighting' and buttons to add and remove repeating rows/sections. [IP2003]

    Hey, thanks for posting the sample! I look forward to trying it out....

    Hilary Stoupa

  • 01-21-2009 01:55 AM In reply to

    • Skarn
    • Top 50 Contributor
      Male
    • Joined on 04-20-2008
    • Australia
    • Posts 198

    Re: Example: Prevent 'blue highlighting' and buttons to add and remove repeating rows/sections. [IP2003]

    Very embarrassed.

    I accidentally uploaded a form template which I originally meant to demonstrate various 'blue highlighting' issues - but I decided to just upload the 'solution'.

    I looked back today and found I had uploaded the wrong one! If you have downloaded the previous template - you only need to look at View 3.

    Otherwise, I have now updated the template uploaded.

    Apologies.

  • 02-26-2009 08:15 AM In reply to

    Re: Example: Prevent 'blue highlighting' and buttons to add and remove repeating rows/sections. [IP2003]

    Got this to work!  Spent a little time trying to figure it out, but it was worth it.

  • 03-02-2009 07:22 AM In reply to

    • drake
    • Not Ranked
      Female
    • Joined on 02-27-2009
    • Minneapolis
    • Posts 22

    Re: Example: Prevent 'blue highlighting' and buttons to add and remove repeating rows/sections. [IP2003]

     When trying to open your attachment, it says that I need domain premission levels to view it.  Plus its looking for a local published location that doesn't exist.  Could you repost or pubically publish it somewhere?  (Or tell me what I need to do to fix it :P)

  • 03-02-2009 07:29 AM In reply to

    Re: Example: Prevent 'blue highlighting' and buttons to add and remove repeating rows/sections. [IP2003]

    When you open the file, make sure you open it in design mode.  That's what I had to do.  Instead of clicking on the form, just open infopath, click on design a form, and from the toolbar on the right select design a form on my computer.  Then just select the form that way, it should open.
  • 03-02-2009 07:31 AM In reply to

    • drake
    • Not Ranked
      Female
    • Joined on 02-27-2009
    • Minneapolis
    • Posts 22

    Re: Example: Prevent 'blue highlighting' and buttons to add and remove repeating rows/sections. [IP2003]

     Awesome!  Thanks!

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