Forum Replies Created
-
AuthorPosts
-
Phil Grant
ParticipantAh! OK, I think I’ve got one step closer to the issue, apparently commons.js is used by an extension that my company have implemented called “walk me” this cannot be disabled and I’ve no idea what it’s for so I will contact our IT dept.
Phil Grant
ParticipantI’ll have a dig around because I have no idea what commons.js is !
Phil Grant
ParticipantWhen I update it it will not work in any browser! I got this from the console in IE11
DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
DispForm.aspx
HTML1300: Navigation occurred.
DispForm.aspx
HTML1201: emea.vwg is a website you’ve added to Compatibility View.
DispForm.aspx
SEC7115: :visited and :link styles can only differ by colour. Some styles were not applied to :visited.
DispForm.aspx
SCRIPT5007: Unable to get property ‘hiddenBy’ of undefined or null reference
eval code (182) (1,115660)Phil Grant
ParticipantThe version details are attached
Attachments:
Phil Grant
ParticipantFound the problem, there are two fields with numbers in and the one I picked doesn’t actually have any values in so that’s why it wouldn’t work, I picked the wrong field from the sample records we added.
Sorry to waste your time.
Phil Grant
ParticipantThe chart is not empty but looks strange (image attached).
The version is v6.1.5.13.
The field is a number.Strangley if I use the ID field it does sum the values of the ID, could it be because the number has 2 decimal places?
Attachments:
Phil Grant
ParticipantI would like to use Chrome but Chrome shows charts OK but just spins the circle when opening a DFFS form then times out.
IE is exactly the opposite it displays forms but will not display a chart!
I realise this is all probably due to Sharepoint 2010 Foundation, we are upgrading to Sharepoint 2019 but this has been imminent for about 6 months….. anyway I was just hoping somehitng had been discovered to fix it.
BTW I disabled the sourceing in Chrome but it didn’t fix anything 🙁
Phil Grant
ParticipantDid anyone ever find out any more information on this?
Phil Grant
ParticipantSorry, I should have said the comment feilds are all multiline plain text fields.
Phil Grant
ParticipantAll the comments fields are no plain text fields.
The JS checks the comments fields (in Red ellipses) and if there is some text in one then the text is added to the Comments history field at the bottom along with a timestamp and the approver (Blue elipses), each comments field is checked independantly.
The attached images show the form layout and the results in the console log window after typing in some text.
If I query another field that already has text in it it returns the text (second screenshot)-
This reply was modified 2 years, 9 months ago by
Phil Grant.
Phil Grant
ParticipantI seem to be getting to the bottom of this, when in Dev Console the jQuery will return the text from an already populated feild in Edit view but doesn’t return the text in a field that has had text entered but not yet saved, does this sound right?
Should jQuery be able to read the data from a field before the form has been saved?
Phil Grant
ParticipantI tried that but it wouldn’t work, the if statement never triggered so I changed it to
var a = jQuery(getFieldValue("Additional_x0020_CCB_x0020_Comme")).val();
But this then triggered every if statement, there are four for different comment boxes.
I have to admit I’m out of my comfort zone with Javascript !!
I realise it is probably triggering on some html in the field but it’s now a plain text field.-
This reply was modified 2 years, 9 months ago by
Phil Grant.
Phil Grant
ParticipantThanks for that, I’ve tried a few different approaches, none succesfull so far.
Phil Grant
ParticipantSo I get his as a response
<DIV> <DIV></DIV></DIV>
Should I check for this text then? if so then how? or is there another way, should I make the field plain text?
Thanks for the help,
Phil-
This reply was modified 2 years, 9 months ago by
Phil Grant.
Phil Grant
ParticipantI’ll give it a try and let you know, thanks for trying to help.
-
AuthorPosts