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

When I creating a infopath conected with list in creator from Microsoft InfoPath Designer the bookmark which called developer is hinding, and I can't editing or writing any of code. How could I connected with list, and couldediting a code in InfoPath? Please help.

share|improve this question
1  
i can't understood what you saying.... can you give more explanation ? –  Hitesh Chandegara Dec 28 '12 at 9:42
    
Infopath blocking my ModalDialogBoxes wchich are fired from Event Receiver by the code: ` properties.Status = SPEventReceiverStatus.CancelWithRedirectUrl; properties.RedirectUrl = "/_layouts/Add4/MorePercentThenRange.aspx"; properties.ErrorMessage = "You cannot save this list item at this time";` –  Grzegorz Z Dec 28 '12 at 15:07
add comment

1 Answer 1

Code-behind is "by-design" unavailable for Infopath templates of type/compatibility "Sharepoint List Form", use other types of forms if you want to code, though coding is bad approach in Infopath forms, aka maintenance horror, as I cannot imagine what cannot be done codelessly, with rules.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.