This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
Changing language upload file button [SELECT FILES]
Started 10 years ago by hanstantra | 6 posts |
-
Hello,
I want to change the upload file button but I couldn't found it anywhere. Where is the file to edit the upload button text? http://prntscr.com/663x3z
Any help would be appreciated :)
Thanks,
HandokoPosted 10 years ago # -
+1
Posted 10 years ago # -
I've found the solution:
1) create a new js file (ex. forms.js);
2) write this code ("#element_5" could be different... check the id of the select input field in your form):
$(function() {
$("#element_5").uploadifive({
'buttonText' : 'BROWSE...'
});
});
3) open machform editor and go to the "form properties";
4) "show more option";
5) in "Advanced Option" put the url of the js create before (ex. http://www.domain.com/js/forms.js) in the field and save.
Posted 10 years ago # -
Unfortunately the above code block the upload in the form... please AppNitro, could you tell us how to change correctly the button text (custom text for every country language)?
ThanksPosted 10 years ago # -
You'll need to edit the "machform/js/uploadifive/jquery.uploadifive.js" file.
Around line 42, you should see this code:
'buttonText' : 'Select Files',
You can change the above text.
MachForm Founder
Posted 9 years ago # -
Ok, but if I use multi-language forms?
How can I custom the text for each languages form?English is not the only language in the world...
Posted 9 years ago #
Reply
You must log in to post.