Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have created a custom list form in InfoPath, and successfully deployed it to a sharepoint list. it's contains several text boxes, and dropdown lists. the dropdown lists pull data from a separate sharepoint list. one dropdown is retrieving a column that has alpha-numeric character (A-F), and gives a validation error "only positive integers allowed". I have double checked that no validations have been enabled.

thanks, Jason

share|improve this question
add comment

4 Answers

My guess is that the error is thrown by a SharePoint field that's is a lookup and it expects an internal ID of list item, not its actual value (visible in the dropdown list).

Setting up dynamic drop downs in the out of box SharePoint forms

If you get an error that says Only Positive Integers Allowed, you're trying to save a string into a column that is expecting a number. Most likely the Sub Project drop down's value is set to a string but because the column is a lookup, it needs to be a number instead. To fix this error, right click on the Sub Project dropdown and choose Dropdown list properties. Then underneath Entries, change the Value from d:Title to d:ID. After you republish the form, the form should start saving properly.

share|improve this answer
add comment

I discovered solution in this post: http://iouchkov.wordpress.com/2011/08/24/list-form-with-multiple-selection-list-box/

share|improve this answer
    
Welcome to SharePoint Stack Exchange! While this may theoretically answer the question, we prefer inclusion of the essential parts of the answer here, and to provide the link for reference. See How to Answer for general guidelines. –  Alex Angas Aug 24 '11 at 10:18
add comment

Okay, I understand that i should change the value from d:title to d:ID, but when i do that, the textboxes that are supposed to be populated are still blank when I make a selection

share|improve this answer
add comment

Your column is required, uncheck required and the error will go away. a validation rule would replace your required option.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.