Solved

Submitting dropzone editable when user clickes somewhere else

Posted on 2016-10-01
4
48 Views
Last Modified: 2016-10-01
I am using http://www.dropzonejs.com/

The problem is that the user does not always find it intuitive that he should click enter to submit, or the OK button. He just clicks somewhere else on the page and expects the editable to submit. How can I create the effect that he wants? Which means submitting the editable when he clicks somewhere else on the page, leaving focus from the editable?
0
Comment
Question by:itnifl
  • 2
  • 2
4 Comments
 
LVL 53

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41824699
The link you provided does not seem to match what you are describing - there is only a DZ that uploads as soon as you drop something on it.

I am not sure i understand the thinking behind having a submit on click anywhere else. If there is an Ok button and the user does not know to click it then I would have thought the problem is with the user - and a simple line of text giving instructions would solve the problem. Relying on a click anywhere on the page is not at all intuitive - it sounds like you are going backwards to solve the problem.

Start by showing us a page that has the exact problem and we can take it from there.
0
 
LVL 2

Author Comment

by:itnifl
ID: 41824844
Can't show you the exact page just like that.
I don't agree that the problem can be set with the user. User GUI's are developed for users. If they aren't intuitive, then they are wrong.

And yes you are right. I gave you the wrong link. Somehow in my mind I mixed dropzone with jeditable.
I think this would be the correct link: http://www.appelsiini.net/projects/jeditable

No wonder I didn't find anythin on Google when I was using dropzone as a keyword instead.
0
 
LVL 2

Author Closing Comment

by:itnifl
ID: 41824854
The answer is here:
http://stackoverflow.com/questions/2839412/having-jeditable-save-when-focus-is-lost

But that would be impossible for you to know when I was mixing dropzone with jeditable :)
0
 
LVL 53

Expert Comment

by:Julian Hansen
ID: 41824879
Ah - that makes more sense. Auto submit on an editable field is a definite UI requirement.  Glad you got sorted.
1

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now