Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / January 2006

Tip: Looking for answers? Try searching our database.

Moving signature controls into view sections

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tillman Erb - 10 Jan 2006 22:28 GMT
I'm seeking help on moving signatures in a form view. The view has eleven
sections, each of which requires a signature in a consecutive workflow. I'm
using conditional formatting to hide sections that are farther along the
workflow than the current section.

When I add signatures to the form, they are placed outside of the sections
and therefore aren't hidden along with their corresponding section. The
result is an awkward UI. For example, when a new form is initiated, it shows
section 1 only, but all eleven "Click here to sign..." buttons.

I'd like to place the signature controls inside their respective sections,
but the signature controls aren't displayed in the view designer. I've tried
moving the signature blocks directly in the xsl file for the view, but I run
into errors.

Any ideas? Similar experiences?
Tillman Erb - 12 Jan 2006 20:36 GMT
I have resolved this issue by figuring out how to edit the view.xsl file.  I
placed the signature block inside the xsl:if tags that control display of the
section, but not within the div tags that contain the section content itself:

<xsl:template ...> = the greater container for the section
   <xsl:if ...> = the condition that controls hide/show of the section
       <div ...> = the div containing the section controls
       </div>
       <div ...> = the signature block div
       </div>
   </xsl:if>
</xsl:template>

Warning: I have been developing using VisualStudio and the InfoPath
designer. As feared, the InfoPath designer mangles direct edits of the
view.xsl files such as the one above, so proceed with caution and make a
backup copy of the xsl contained within the view.xsl files before you make
any changes in the InfoPath designer. (If there's a way to prevent InfoPath
from mangling code similar to the options available in the VisualStudio
designer, I haven't found it!)

~ Tillman

> I'm seeking help on moving signatures in a form view. The view has eleven
> sections, each of which requires a signature in a consecutive workflow. I'm
[quoted text clipped - 12 lines]
>
> Any ideas? Similar experiences?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.