Password-Protect Download Button
Katya,
I am unsure of what JS to run on button click that will fire a dialog box where the user can input their password.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Katya,
I am unsure of what JS to run on button click that will fire a dialog box where the user can input their password.
Can I create a pop-up style dialog box without having to create a whole login page?
Hi Mike,
Yes, you can implement only dialog page with login form without implementing it in whole application.
See how to create dialog page: http://prntscr.com/41f7i5/direct
To open dialog you can use following js code:
pre
//Note you should replace "dialogPageName" with your dialog page name.
Apperyio.navigateTo("dialogPageName")
/pre
Regards.
Perfect, thanks guys.
Is it possible to omit the username input box and just have a user enter a password?
Perfect, thanks guys
Is it possible to get rid of the username input and just require a password for a login service?
Hi Mike,
Appery.io Database uses login system based on login and password: http://devcenter.appery.io/documentat...
You could create your own collection with passwords only, but then our default services won't work and you'll need to implement custom logic.
Thanks Katya
Hi Mike,
However, I would recommend that you add an only input field for password and just map it to both request parameters 'username' and 'password' as I already advised above. This is the easiest way I think.
Katya! I read your response incorrectly the first time. This is exactly the solution I was looking for! Thanks!