ADD/EDIT RECORD – DISABLE SAVE BUTTON WHILE FILE UPLOADING

QuestionsADD/EDIT RECORD – DISABLE SAVE BUTTON WHILE FILE UPLOADING
Giovanni Luca Bonelli asked 9 years ago

When adding or editing a record, I want disable "save" button before file uploading is completed. So I can't accidentaly stop file uploading.
How can I do It??

Thank You in advance.

5 Answers
Abu Ghufran answered 9 years ago

This function is added in latest build now.
You can renew subscription when required.

Thanks.

Massimo Gagliardi answered 8 years ago

In my build don't seems working.
I must do anyhing?
Thanks in advance

Massimo Gagliardi answered 8 years ago

I have another problem.
The name of file uploading is: rn.42-16 EW-A&G-BOSIT(UP-2486) gornjišta.xls (serbian language.
The name stored in the db is the same but the name in the server path is: rn.42-16 EW-A&G-BOSIT(UP-2486) gornjišta.xls.
Suggestions to resolve?
Thanks in advance
Massimo Gagliardi

Massimo Gagliardi answered 8 years ago

Sorry:
after the char Å there is a semicolon that gets lost.
Thanks

Abu Ghufran answered 8 years ago

In latest build, it hides the 'submit' button when uploading:
See http://prntscr.com/bhooau

For special character issue, this is little tricky.
http://stackoverflow.com/a/18481737/385377

One option is to transliterate to nearest similar character. e,g, š -> s
For that edit jqgrid_dist.php and add iconv line before move_uploaded_file function.

// tranliterate special characters before saving
$name = iconv("UTF-8","ISO-8859-1//TRANSLIT",$name);

if ( @move_uploaded_file($tmp_name, "$uploads_dir/$name") )
….

Your Answer

19 + 4 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?