Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
tarunbb10
Posts: 7
Registered: ‎01-23-2013
My Device: developer

how to retrive value of username input field and password input field from SystemCredentialsPrompt in qml

hi..

after fill the username and password

how to retrive value of username input field and password input field from SystemCredentialsPrompt in qml

Please use plain text.
Developer
Zmey
Posts: 1,512
Registered: ‎12-18-2012
My Device: PlayBook, Z10, DAC

Re: how to retrive value of username input field and password input field from SystemCredentialsPrompt in qml

[ Edited ]

Hi! Retrieve them using .usernameEntry() and .passwordEntry() functions:

 

https://developer.blackberry.com/cascades/reference/bb__system__systemcredentialsprompt.html#exec

 

This can be done in onFinished: { ... }

 


Andrey Fidrya, @zmeyc on twitter
Please use plain text.
New Contributor
tarunbb10
Posts: 7
Registered: ‎01-23-2013
My Device: developer

Re: how to add one more input filed like username input field and password input field in SystemCredentialsPrompt in qml

thnks for your reply......

 

can we cutomized SystemCredentialsPrompt  to take some more info like username ,password,emil.etc

Please use plain text.
Developer
simon_hain
Posts: 16,190
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: how to add one more input filed like username input field and password input field in SystemCredentialsPrompt in qml

no, but you can write your own dialog
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.