Hello,
I am working on changing the formatting text of the Attachment control via JavaScript and CSS. By adding the following text to the Custom JavaScript field in the Nintex Form, this works with New Items. (The control is called "Attachments.")
NWF$(document).ready(function() {
NWF$('Attachments td.ms-descriptiontext').css('color', 'red').css('font-size', '18px');
});
This also works:
NWF$('Attachments .ms-addnew').click(function() {
NWF$('Attachments td.ms-descriptiontext').css('color', 'red').css('font-size', '18px');
});
Both result in the following:
This is perfect, however, this only works when I click New Item. If I edit an item, the formatting does not go through. Would anyone be able to offer advice as to why this works with New Item, but not Edit Item?
Thank you,
Jocelyn