Encode Decode Password

QuestionsEncode Decode Password
Azhar Abdallah asked 8 years ago

Dear Abu Ghufran,

I'm using a special function to encrypt and decrypt password. I successfully implement the encrypt using the call function:

$e["on_update"] = array("encrypt", null, true);

And the encrypted password is written successfully in mysql table.

What I'm looking for is how I can use my function "decrypt" to show the real password in another virtual column in the grid.

I highly appreciate your feedback.

Best regards,

2 Answers
Abu Ghufran answered 8 years ago

You can connect on_data_display event handler and update the field value.
Refer demos/editing/custom-events.php

Azhar Abdallah answered 8 years ago

Thanks, works like a charm!

Your Answer

13 + 18 =

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?