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

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

Field blanks out as form is being filled in

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

I have an InfoPath form hosted in SharePoint that has some peculiar behavior. This form was previously hosted in forms services on SharePoint 2007, and worked for several years without problems, but we recently upgraded to 2010, and now I have this issue. The form is used to request that a design project be initiated, and is fairly large - about 100k empty.

There are two different fields in the form that seemingly at random get blanked out as the form is being completed. One is a check box, which determines if a certain workflow step will be performed (create a customer quote), and the other is a rich text field used to enter additional project information. There are no rules that point at the check box to set it's value, but it does have some rules tied to it to set another field if it is selected. And the rich text box has a rule to concatinate a file number to the existing text if a certain button is pushed. That is all. There are no rules in place to clear these fields. In each instance there was additional activity occuring before the form was submitted (other fields were being selected, documents were being attached, dates being entered, etc.).

I managed to duplicate the clearing of the rich text box in troubleshooting, but have not actually seen the check box get cleared. I repeated my steps to get the rich text box to clear, and the second tim

View Complete Post

More Related Resource Links

While Printing an Infopath Form it Prints lot of Blank Spaces Before RichText Field


I had an infopath form with few rich text field. When i copy some content from somewhere and paste in the richtext Box then while Printing the form I get Lot of Blank Spaces Infront of the rich text box.

I tried creating teh print view too but still i get bunch of empty pages printed before by richtext box control.

Is there a way we can remove those blank spaces.....

I am not able to find out what is going wrong here....

"Enable this Form to be filled out by using a browser" check box is grayed out when publishing InfoP

When I try to publish InfoPath form to a SharePoint site collection, "Enable this Form to be filled out by using a browser" check box is grayed. Also, I see the following warning message: This form template is br owser-compatible, but it cannot be browser-enabled on the selected site. This may be cased by one of the following reasons: -The server is not running InfoPath Forms Services. - The necessary features are not available on the site collection. The policy setting on the server does not allow user to browser -enabled Form templates. I have tried the following: 1. Deactivated and reactivated " office SharePoint Server Enterprise Site collection features" 2. Deactivated and reactivated " office SharePoint Server Enterprise Site features" 3. "Form Templates" document library exists and visible. 4. I am able to check the box in other site collections without any problems. 5. Ran the following stsadm commands: STSADM.EXE -o deactivatefeature -filename IPFSAdminLinks\feature.xml -url http://siteCollection -force STSADM.EXE -o deactivatefeature -filename IPFSSiteFeatures\feature.xml -url http://siteCollection -force STSADM.EXE -o deactivatefeature -filename IPFSWebFeatures\feature.xml -url http://siteCollection -force STSADM.EXE -o activatefeature -filename IPFSAdminLinks\feature.xml -url http://siteCollection -force STSADM.EX

How to read a column of a sharepoint list to a text string field of infopath form?

My infopath form used to read these email addresses from a web service and web.config file. Now i would like to get these user email addresses from a contact list in a sharepoint server. I am trying to do this without writing any codes. Here is what i have done so far: 1. Adding a new "data connection to receive data from SharePoint library or List" where i selected Email Address column of the contact list. 2. I added a new Text Field and define a new rule with "Query using a data connection" defined above. When i try to access the newly created Text field above it always return empty as if the Query attached to it did not executed at all. What did i do wrong? Is there a better way? Thank you in advance for your help.

conditionally hide a field in a custom form using SharePoint Designer

I'm able to hide a field based on a security group. but, how do you hide a field based on a value in another field? Custom form opens, if fieldTwo = "taco", hide fieldOne.    

Binding list to form not working with '&' character in list field data

Hi, I have a SharePoint list with a field called Title. I have a form based on this list with the field bound to the form as a label (for workflow to access). Here is the code for the form field. <asp:Label runat="server" id="ff2{$Pos}" text="{@Title}" __designer:bind="{ddwrt:DataBind('u',concat('ff2',$Pos),'Text','','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}" /> I have a workflow that runs through a form action button which take ff2 (title) and  does other stuff. The problem I have is with records where the value of 'title' contains the '&' character (example ab&cd). Blank is pulled in by the workflow when I get the value of ff2. I am guessing it has to do with the data binding and/or escape (special) characters coming through but I don't know how to fix it. Any help will be greatly appreciated

Set value of field in NewItem form through hyperlink

Here is my scenario. We're using SharePoint for project management, so I have a List of tasks that needs to be performed and another list containing elements for when people have worked on the tasks. That is, whenever a person has spent some hours on a task he must add an element to the second list specifying when he did the work, who did the work, how long he worked on it and which task he worked on. In a scenario where there are alot of tasks on the Tasklist it becomes very tedious to find the task in a dropdown menu on the NewItem form of the second list. Therefore I would like to add a column to the TaskList containing a link for each task so that when you click Task1's link you will be directed to the NewItem form of the second list with the Task field in the NewItem form set to Task1. My original idea was to use the url of the NewItem form to specify the value of one of it's fields such as: http://server/sites/site/list/NewItem.aspx?TaskField=Task1 If that makes any sense. But I haven't been able to find any way to do this. Does anyone have any idea of how I can make a link in the TaskList to redirect me to the NewItem form of the second list with a field value set based upon which link is clicked? /Michael

Map an InfoPath form field to a SharePoint column

I am trying to create a custom SharePoint list template feature (feature.xml, schema.xml, the whole nine yards), which is based on the OOTB XML Form Library in MOSS 2007. I copied the XmlFormLibrary feature out of the FEATURES folder on my SharePoint server, and made a few minor modifications (changed the feature name, new GUID, added some fields in schema.xml, created a new content type for it, etc...).

What I ultimately want to do is publish an InfoPath form template into it as the document template for the library, and I would like to be able to map certain fields in the form template to fields in my custom SharePoint library template. In InfoPath, I open the Publishing Wizard and go through the typical steps to publish to a Document Library. I then choose the columns in my form that I want to promote to fields in the form library, and select the appopriate fields to map to in the form library. I publish the form, and do not get any errors or warnings.

However, when I choose "New" from the form library and fill out the form and save it, only certain fields in the library are actually being populated from the form. Specifically, this seems to work fine for a date/time field I am using, but does not work for the "Location" field. I am using the OOTB "Location" field from the "Core Contact and Calendar Columns" group. Ev

Is there any way to populate an InfoPath form field with the data from the site content type column?


I have a Form library with a form template.

The templat has a field "Office name" which should not be a fixed list of values, but a dynamical list, feeded from a different type of form. I'm a novice with InfoPath - Sharepoint and I want to find out, how can I can give users a possibility to create and maintain a list of offices and also have this list as a selection list inside main library form - ALL inside one library, if possible.

I assumed that if I publish main form (Itinerary) as a library template form and lookup form (OfficeInfo) as a SiteContent, I should be able somehow to connect to siteContent column and it's information. But I cannot see how - Site Content Gallery is not appering as a Connection item.

Can I use SiteConenct for this purpose or there are other ways to create end-user lookup lists?

Thank you!


How should an SQL statement refer to a Text field value on a Windows Form Application?


In a WindowsFormApplication, I have a form that contains an MS Office Spreadsheet (an Office Web component).  The data source of the spreadsheet is  an Oracle table which is referenced in an SQL statement  - for example, the following works fine: 


I've now added a Text field (TextBox1) to the form and would like to have the SQL statement refer to the value of this field.  I've tried various syntaxes, including the following::


This generates an error (ORA00904: "HOST: invalid identifier)

I've also tried the following: 


This generates an error (ORA00904: "FORM1"."TEXTBOX1"."VALUE": invalid identifier)

I'd appreciate any ideas on what the correct syntax should be in referring to the Text field or whether or not this is even possible.


Get the field of form into list


Hi I want to modify the list column according to info path field.

I get the field name in column list and it is sure that that column is specifically used in info path form, But when i changed the value in list it is not showing the exact value in the list.


Please help as early as possible.

How to map the new field added to the new form to the list?


I have replaced sharepoint form field tag with input type text field. it does not store in the list. how it can be stored to the list

Thanks in advance

filling current user name in people picker field when loading form using javascript


Hello guys,

I am looking is there any way to fill the current user's name in people picker field in newform.aspx using javascript?

If you anything, please let me know 


Resize a Sharepoint Field on the Custom list form


Hi All Gurus...

I'm just looking for a way to resize the form field input boxes for a custom list form. I don't think I'm understanding how the displaysize attribute works. It doesn't take "px" or maybe I'm looking at the wrong thing. I know this is a easy question

Pls help its urgent


A __ViewState field is being posted to my form and causing validation to fail. How do I ignore this?


I'm implementing a payment gateway, and it basically works like this:

User will do their shopping at my site, and view Cart.aspx. Cart.aspx will post the form to the payment gateway.

The payment gateway will process the payment, and then do a post back to my server at Response.ashx. It posts the details of the credit card transaction, but it will also re-post whatever I gave it. So it is giving me back a __ViewState field. (ViewState, EventValidation, RequestValidation are all disabled on both Cart.aspx, and Order.aspx, which is the page being redirected to.)

Response.ashx has the following code:

public class Response: IHttpHandler, IRequiresSessionState
public void ProcessRequest(HttpContext context)
new ResponsePresenter

public void

Workflow Updating Infopath Form Dropdown Field Keeps Breaking


I am using SharePoint Designer to create a workflow.  I am experienced in creating workflows this way, but it is my first go around with SP 2010 + SP Designer 2010. 

I am using InfoPath Services and have the form published as a content type to a form library.  I have a dropdown field that when the workflow runs, it will eventually change to another value in the list.  This HAD WORKED.  But twice now, I come into work the next day to find  the workflow will no longer set that field value.  Twice, I just rebuilt the workflow, only to have it break for no good reason, again.  

The workflow indicates that it runs and completes. For trouble shooting I created a step that said (in pseudo) 1. Write to the history log that the workflow started, 2. change dropdown field to value X.  3. Write to the history log that the value had been changed.

Well I get the history logs, but the value does not change.  Again, this was working twice, I know the function is possible.  But I am hoping that someone out there would know of any known issues that would cause this to break?  Other than a possible large amount of local variables added to the workflow, everything else is pretty straightforward.

North to the Future

Drop-Down List Filled with Checkboxed 'Choice' Field?


SP Lists allow a 'choice' field.  You can opt to make the Choices a manually typed in list where the user simply 'checks' off one or more options.

Within InfoPath, I want to be able to show ALL of the checked-off choices in a drop-down menu.  Can't do it! :(

Any suggestions?


shift+tab key issue in numeric field in UI form in silverlight application



Issue in UI form:

1. when user press shift+tab key in numeric field then it's not working means cursor not moving.

2. when user press shift+tab key in field wich is allowing any characters then it's working.




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