.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Check the InfoPath all mandatory fields in a section

Posted By:      Posted Date: October 25, 2010    Points: 0   Category :SharePoint

We have created an form in our company with the InfoPath 2010.
This form must not changed, so it must be digitally signed. Because this form has many required fields, we don't want that this incomplete form can be saved.

How can we hide the section to the signed, as long as all the required fields are not correctly filled in?

View Complete Post

More Related Resource Links

Infopath and Section 508 Accessibility


Hey, guys! I'm building a web site for a Section 508 workgroup, and I need the site to be 100% accessible (including the administration module I'm making for the team. We're using SharePoint MOSS 2007 and I recommended using infopath to enter data into the site's database (and also to populate downloadable Microsoft Word documents). The customer claimed that InfoPath is not Section 508 compliant, which seemed odd to me because the forms can be modified to anything you want them to be (including 508 compliant).

I even found this guide to making InfoPath accessible:


I'm curious if there are any caveats to making accessible forms in Infopath, or if the information I've gathered is incorrect.



Changing fields while updating an InfoPath Form to a SharePoint 2010 Document library

My document library has following EventReceiver: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Receivers ListTemplateId="101"> <Receiver> <Name>EventReceiverDocumentLibraryItemUpdating</Name> <Type>ItemUpdating</Type> <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly> <Class>EventHandling.EventReceiverDocumentLibrary</Class> <SequenceNumber>10000</SequenceNumber> </Receiver> </Receivers> </Elements> Updating a browser enabled InfoPath form in the document library fires following event: Public Overrides Sub ItemUpdated(ByVal properties As SPItemEventProperties) Try Me.EventFiringEnabled = False properties.ListItem("Lastname") = "Testperson" properties.ListItem.ParentList.ParentWeb.AllowUnsafeUpdates = True properties.ListItem.SystemUpdate(False) ' solution 1 properties.ListItem.Update() ' solution 2 properties.ListItem.UpdateOverwriteVersion() ' solution 3 properties.ListItem.ParentList.ParentWeb.AllowUnsafeUpdates = False Me.EventFiringEnabled = True MyBase.ItemUpdated(properties) Catch ex As Exception Me.EventFiringEnabled = True E

Using UserName to enable disable access to InfoPath form fields

Hi Everyone, I have created a browser enable form in InfoPath and restrict certain fields depending on the official logged on User Name. Now this works most of the time but my problem has to do with the "case" of User Names for some of the site users. In most cases the User Name is an exact match but for some reason, some user's names are reported by SharePoint (the Welcome at top of screen) with some parts captilized. Example - my hidden filed on the form reports my user name as xrs_master but the Welcome up top says XRS_Master - and the fields act as though I am not the correct user and won't enable. On the other hand there are users who's user name matches the case exactly and all works fine. Why is SharePoint reporting the user name differently? And if this is the reason they don't match, how do I fix it? Any Ideas? Many thanks in advance for help!

How to identify new row in repeating table and repeating section of browser enable infopath form

Hello All,   I have Exp form that contain repeating table as well as repeating section. When i click insert new item it inset new row but i didn't got identification of that row. Is there is way to get identification of each row in repeating table as well as section.  Please help on this.  Thank you.

Infopath 2010 - Section hidden

I have a section in my Infopath form that only a few people are supposed to see. I have used conditonal formatting rules to "hide" it. I am restricting based on user name that I am getting from GETUSERPROFILE which is working just fine. My problem is now that I have more than 5 users that I need to add to that conditonal formatting - there are only 5 slots for options.

How to sum up InfoPath calculated fields

I have a repeating table with calculated fields on each row.  At the end, I need to sum up all these calculated fields into total.  Which total is also a calculated field to sum up 2 calculated fields in the repeating table.  The total never show anything after data entry.  How can I sum up total from the calculated fields?  For example: QTY 1 of a Computer would cost $1000.  In the repeating row, I will allow customer to fill in multiple rows.  A field named line item total is a calculated field named EXTCOST which is set to QTY X Computer = $1000.  At the bottom of the form, I would like to sum up EXTCOST to get the Grand Total Cost.  The Grand Total Cost is fomat as SUM(EXTCOST) which is zero at all time. Please advise. Brian.

Get fields from InfoPath?


Hi all

I am using an web enabled infopath form to register leads for our crm system from sharepoint.

I want to get data from theese fields in infopath, and put them in our crm system, via a web service. I am using MOSS 2007 Enterprise.
I am having problems retrieving the fields from infopath, and map them to crm.

Any suggestions how that can be done or samples would be highly appreciated.


How to remove * for validation fields in Infopath 2010



I am using Infopath 2010 and i had written validation rule for a fields.While loading the form field is showing with red * mark.It will go away as soon as i enter value but i don't want to diaply red * even i don't enter value just display a tooltip message saying that "Please enter vale" on submit button click.

Please help me in this out?


Update Infopath Fields with SharePoint Designer Workflow


Hi All,

Is there any way to update InfoPath Field and column with SharePoint Designer Workflow? I have an InfoPath Form Library on which I have published an InfoPath form. Now I want to change values of submitted infopath forms using SharePoint Designer Workflows ?

For your Information:

I am using SharePoint 2007 updated with SP2.




Update Infopath Fields with SharePoint Designer Workflow


Hi All,

Is there any way to update InfoPath Field and column with SharePoint Designer Workflow? I have an InfoPath Form Library on which I have published an InfoPath form. Now I want to change values of submitted infopath forms using SharePoint Designer Workflows ?

For your Information:

I am using SharePoint 2007 updated with SP2.

Infopath Repeating section does not show repeat records


hi, i have a infopath form. with a repeating section.

firts i used to click the run query button and it display all the records in the repeating section.

then i modify the form that the user could add a new record in the repeating section.

that works. but now when i click the run query button again it does not show the new record with all the other records in the repeating section it shows onlt the first record of all

is someone familiar with this?

Infopath 2010 Form design with Optional Section and Option Button


I need help or a push in the right direction. I am creating new forms for sharepoint2010 using infopath2010. Trying to make it so if someone hits an option button it activates an optional section or something simular. basicly if someone answers yes I have more questions for them and dont want them to show UNLESS they say yes.

as always please and thank you

load users records in infopath fields without using "run the query" button



is it posible to instead of clicking the "run the query" button to load the users records in the fields that the fields load automatically.

can this only be done with a role and a "set a value's field" action? 

SharePoint 2010 External Content Type and InfoPath 2010 - Numeric data type fields missing in InfoPa


Connected SQL data table to SP 2010 ECT from SQL table.  The SQL table has several fields that have a type of "numeric(3,0)".  The SP 2010 list shows all fields form SQL.  When we open up InfoPath Designer and reference the SP List data (from SQL) all of our numer fields are missing from the available fields list.

I amd going to try another data type but that hardly feels like a solution.  If anyone has any ideas please let me know!

infopath repeating section only for insert new item not editable



i'm trying to use a repeating table in my form. where the user can only insert new item and not edit the existing items that are loaded in the form.

i have set the fields read only when they are not blank. but when the user wants to insert a new item and he makes a mistake he can not fix the field because it will be read only.

can some one help me with this.

i've been asking some question without getting help, hope someone can help me with this one

thnx in advance

Workflow <=> Infopath Fields


I have an initialisation infopath-based form with text fields in it (ad accounts, like domain\user).

Can i make an input field like in sharepoint field of "User or Group" Type, where u can search users over domain?

Infopath: problem with structured layouts within a repeating section or table



I've run into a bit of a problem when trying to structure information in a repeating section or table.

What I need to be able to do is use a repeating section or repeating table to receive data from a secondary data source and then structure this data and have the ability to have the field names at the top of each row in the table.

Both options seem floored:

repeating table: this method seems ok at first but it doesn’t seem possible to have the field names at the top of each row, which is a requirement. 

repeating section: this does include the field names for each row but for some reason will not allow me to structure the fields in a nested table, so its messy.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend