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

Since upgrading to SharePoint 2010, I've seen several instances where certain fields in DVWPs do not appear. They seem to function just fine - but users think the field is actually missing from the form.

I've seen this with Multiple Lines of Text fields as well as People/Groups fields. I hadn't thought anything of it until one of the "invisible" People/Groups fields started refusing some Javascript auto-population.

We're using the absolute out-of-the-box Master Page.

Thoughts?

Invisible Fields

share|improve this question
    
any target audiences? It's possible the groups had trouble migrating over. –  Mike May 20 '13 at 21:14
    
No sir. The controls are all perfectly functional. I can click in the blank area, enter a name, hit ENTER, and everything is fine. The problem is that users cannot see that. –  Cory M May 20 '13 at 23:27
add comment

1 Answer 1

The "cause" is that my multiple lines of text field was set to Enhanced Rich Text. When I switched it to Rich Text, that field and the People/Groups fields suddenly became visible. And it's more than just cosmetic: suddenly, my little bit of Javascript began correctly auto-populating the People/Groups field with Current User.

Well that's just ridiculous.

I'd still be very curious to find out why that would behave in such a way.

share|improve this answer
    
Cory, there are tons of instances where this same sort of thing has happened to me. Telerik has a replacement control for Enhanced Rich Text which seems to resolve some of the issues with that field that I have experienced. In the end, though, I have just ended up completely using my own custom HTML/JS/CSS along with ListData.svc/CSOM and completely removing the SP interface from the equation. Not likely a suggestion you want to hear... But with all the errors I've encountered this has turned out to be faster for me at least. –  Robert Kaucher May 21 '13 at 15:51
    
Here is the link for the RadEditor, I am in no way associated with Telerik, Just a user: sharepoint.telerik.com/aspnet-ajax/Pages/default.aspx –  Robert Kaucher May 21 '13 at 15:55
    
Thanks - I'm in a no-customization environment. I did find a second, equally weird, workaround: add a random multi-line text with rich text field to list, add that to the form, apply class ms-hidden, and all is well. This resolved another mystery issue involving non-commitment with a text field populated via query string. –  Cory M Jun 11 '13 at 20:04
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.