Mark Wong
Posts: 0
Joined: Sat Feb 14, 2015 7:47 am

Get Checkbox value and store Login Details in Variables

If Checkbox for Remember Password (Only One) checked, When calling Login Service, it will store the username and password in variables Image

Mark Wong
Posts: 0
Joined: Sat Feb 14, 2015 7:47 am

Get Checkbox value and store Login Details in Variables

Please give me step by step procedures or JS code to meet this target!
Thank you

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Get Checkbox value and store Login Details in Variables

Hello!

I am sorry, but custom app logic and custom JS are outside the scope of our support http://devcenter.appery.io/support-po...

Please clarify what have you tried and what exactly doesn't work so we can help.

Mark Wong
Posts: 0
Joined: Sat Feb 14, 2015 7:47 am

Get Checkbox value and store Login Details in Variables

I need when Sign In button clicked, then it will check the Remember Password Checkbox Value, if its checked, then it will remember the password and account by storing in the variables.
But unfortunately, Im not sure about how to check the value of Checkbox.

Mark Wong
Posts: 0
Joined: Sat Feb 14, 2015 7:47 am

Get Checkbox value and store Login Details in Variables

Any other examples?
Sorry, still don't get it

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Get Checkbox value and store Login Details in Variables

Hello Mark,

Could you please detail what do you have now and what exactly doesn't work?

Mark Wong
Posts: 0
Joined: Sat Feb 14, 2015 7:47 am

Get Checkbox value and store Login Details in Variables

Sorry I mean I don't know what is the code for checking the value of Checkbox and when the button clicked, do this action when Checkbox is checked

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Get Checkbox value and store Login Details in Variables

Mark,

1.The code for checking the value of Checkbox you can find here http://devcenter.appery.io/documentat...

  1. You can add 'Run JavaScript' for 'Click' event of button where you could check value of checkbox, and do any action what you want if checkbox is checked
Mark Wong
Posts: 0
Joined: Sat Feb 14, 2015 7:47 am

Get Checkbox value and store Login Details in Variables

When Checkbox clicked: Call JS
var check = Apperyio("RememberPW").find('input[type="checkbox"]').val();
alert (check.val());
Sorry, why the alert is not appearing?

Return to “Issues”