Hi,
after long hours of trying different approaches to solve mlgeek's problem (Change Password AND Display also the user infos) I've came to an working, but not perfect workaround.
To get it working make the following:
1. Create a Form "change_password" following the steps posted by mlgeek but leave out step 6! (
http://forums.nubuilder.cloud/viewtopic.p ... 00d#p11344
2. now create another Form "change_password_entry". The table and everything doesn't matter, just take something, for example the same values as in "change_password". For getting it working properly add 1 Object to the form... for example a text object that includes always "Loading... Please wait"
3. go to Custom Code -> Javascript in that form. Paste in there the following code and replace "ID of change_password" with the real ID of your form in "openForm('ID of change_password', userid);"
Code: Select all
function nuLoadThis() {
var userid = zzsys_user_id();
openForm('ID of change_password', userid);
}
This has the effect that the JS code is being executed when the first form is loading and opens then the real form with the correct record-ID.
4. Add A Button-Object to your Index-Page that opens change_password_entry and change the called record ID there to "-1".
I hope this is helpful for someone and saves you some time
.