Well, maybe this is not the right place for this issue, if so, I apologize.
I'm just an amateur programmer, and I've never worked with Smarty, so I started doing some research, and I wanted to see how Tiki uses Ajax with PHP and Smarty.
For this I followed the control of the strength of a new password that is done in the registration process of a new user.
I have understand it quite well, but I have stuck in this.
I have seen that there is an important function called "runPassword (strPassword, strFieldID)", which is in the library "tiki-js.js", and just to investigate I have done some tests modifications in this function, but whatever I do always works fine, it seems that this is not the function that is executed.
For example, I have changed the name to the function, I have put a "return;" in the first line of de function, but the system continues working, that is, while the password is written, the force is calculated and the text that indicates is updated.
The only way in which the calculation of the strength of the paswoerd stops working is not to make the call of the "runPassword" function, so surely it is necessary for it to work.
I thought there was another function with the same name in another folder, but I have search everywhere and not find.
Could someone give me some clue as to why this happens?
What am I doing wrong?
Thank you very much and cordial greetings