Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3279
  • Last Modified:

custom list form - only positive integer allowed in dropdown

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.

Cheers,
Brendan only positive integer
0
brendanlefavre
Asked:
brendanlefavre
1 Solution
 
ezskolCommented:
You're trying to save a string into a column that is expecting a number.

To fix this error, right click on that dropdown field 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.
0
 
brendanlefavreAuthor Commented:
the suggested solution solved the problem. I also was able to solve the issue by changing the column type.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now