Conditional Formatting on "Insert Item" text - InfoPath Dev
in

InfoPath Dev

Conditional Formatting on "Insert Item" text

Last post 07-16-2005 04:55 PM by Patrick Halstead. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-15-2005 06:52 PM

    Conditional Formatting on "Insert Item" text

    Hey all,

    Is there a way, I'm assuming through code, to apply conditional formatting to the text used to insert an item into a repeating table? I'm asking because currently, I have a table that is hidden based on a condition but the text and the small icon are still visable. And no, I can't turn off the option to insert items into this table, I just need the text hidden at certain times.

    Thanks!
  • 07-15-2005 10:05 PM In reply to

    Re: Conditional Formatting on "Insert Item" text

    Hi Wcotech,
    Good question. You can take a look at the xsl and change the font of the insert widget, but I'm guessing conditional formatting is impossible since the widget is a special control that attaches by default to sections, so you can't put it in a section of it's own.

    You can hide the default insert widget and then add a button inside a section that does the insertion. This button can be formatted to look like the insert widget. Then you can add a condition to the button in which you have put your new insertion button and hide it conditionally. We've done this before.

    Good luck!

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 07-15-2005 11:27 PM In reply to

    Re: Conditional Formatting on "Insert Item" text

    Hi Wcotech,
    You can do one thing, place your repeating table inside a section then have conditional formatting on the section instead of repeating table.

    Agni
    InfoPathDev India
  • 07-16-2005 04:55 PM In reply to

    Re: Conditional Formatting on "Insert Item" text

    Thanks Agni for responding to WCotech's actual issue! :) Looks like I was only discussing hiding the widget ... :S

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.