Thanks AlexZver for this helpful Script it works just great.
What about Sharepoint attachment control :
“Select files…” button.
How to change this caption name?
NB: it is a sharepoint attachment field not an SPDataTable.
instead of the caption “Select files…” i need to change it to ARABIC, in order to complete the whole form in Arabic interface.
Dear @AlexZver
Sorry Again
the script:
$(’.k-upload-button’).text(“New text”)
worked for changing the caption of the button .
But if the button is pressed nothing is happening the attach process is not working.
i canceled the change the attachment trigger is working normally
are there anything to do about it?
Dear @AlexZver
Sorry i am disturbing you but any solution for this as i mentioned above the caption has changed but if i press the button nothing is happening the attachment trigger not working on caption change.
hI @Nikita_Kurguzov thank you again for your time
$(fd.control("SPDataTable0").$el).find("button.btn-primary").text("New Text"); is not workking
neither
$(fd.control("SPDataTable0").$el).find("button").text("New Text");
mention that the child list in the form is inside an accordian conatiner.
for the attachments $('.k-upload-button span').text("New text"); is working normally
Dear @Nikita_Kurguzov,
Thank you again and again for your help
I forgot to add .ready function, i should remember this especially when i fire a script on load .