Forum Replies Created
-
AuthorPosts
-
Do I need to change the
jQuery("#dffs_Status select").on("change",function(){
Do I need to change the action form “change” to something like “load” ? as I want the form field to change colour when opened.
LoL, that’s the only thing I didn’t try because you usually write FeildInternalName in the code when you want us to use it, this time I though YourFieldName specifically meant not to use the FIN.
It works now thanks.
Alexander,
I tried the JS but it doesn’t work, I’m guessing that it’s because of the spaces in the field name? I tried various ways of writing it including escape characters in front of the spaces, underscores instead of spaces but nothing worked.Hopefully this is easy when you know the language, this is what I have: –
var raw = getFieldValue("Projects also affected"); jQuery("#dffs_Projects also affected td.ms-formbody").html(raw.split(";").join("<br>"));
Thanks, I’ll give it a go, yes it is in the display form.
Thanks it worked a treat.
We were supposed to got to Sharepoint 2016 last August but it keeps getting delayed, hopefully now next month ….. I won’t hold my breath.
Cheers,
PhilJust to let you know that with IE and sharepoint 2010 this CSS doesn’t seem to work for me.
I’m not looking at printing though, I just want alternate colours in the display form.
Regards,
Phil- This reply was modified 5 years, 11 months ago by Phil Grant.
November 6, 2018 at 17:29 in reply to: Recreating Multiline Text field with Append Changes without SP Versions… #22700Great idea, the result was “<P></P>”.
Thanks,
PhilNovember 6, 2018 at 09:59 in reply to: Recreating Multiline Text field with Append Changes without SP Versions… #22694Alexander,
I’ve been using the code above for a while and noticed that the ‘if’ statement seems to fail to catch an empty field, the date and user ID is always added to the log field even if new comment field is empty, this results in long strings of times and names when nothing was changed.Not sure why this would happen.
Phil
It worked when I put it in the custom CSS section.
Thanks
I’ll give it a try tomorrow and add a screenshot if it doesn’t do what I need.
Thanks.
Alexander,
Just to let you know that your solution works great,Thanks,
PhilThanks, we should be switching to SharePoint 2016 Enterprise later in the year, hopefully it will be easier to use!
I just opened it in Chrome so I get a similar look to your and the CSS seems to have worked in Chrome …..ARGHHHH!
I suppose i’s something to do with IE and sharepoint 2010 again 🙁
Sorry, still not working.
Alexander,
Tried it this morning but doesn’t seem to work.
I added a CEWP webpart and pointed to a CSS file in the SPJS folder
The left alignment works so the file is being processed but the totals row isn’t affected at all.<style type="text/css"> .spjs_filterPlaceholderInner{ text-align:left!important; } .google-visualization-table-table tr:last-child td{ font-weight:bold; color:red; } </style>
Cheers,
Phil- This reply was modified 6 years, 4 months ago by Phil Grant.
- This reply was modified 6 years, 4 months ago by Phil Grant.
- This reply was modified 6 years, 4 months ago by Phil Grant.
-
AuthorPosts