[Vtigercrm-developers] Generate password
ich at stefanwarnat.de
Mon Mar 26 12:27:15 GMT 2018
There probably is a module, which can do it for you.
(@Prasad: I know I'm not allowed to advert and I respect it by removal of
signature. But in situation like this it would save a lot time and
headaches to direct to a module.)
When you Google "Workflow Designer", then the basic version would be enough
and solve this for 100€. Not sure if your working time is cheaper. ;)
Solution would be to use a single Block "set values" and set *<?php return
substr(md5(microtime(true).mt_rand(100000,999999)), 0, 10); ?>* to the
field, which should store the password. Without any core modifications.
You can also contact me for more information.
On Mon, Mar 26, 2018 at 11:40 AM, nilay khatri <nilay.spartan at gmail.com>
> You could register your Password generation function as a Custom Workflow
> Function and then setup a workflow on first save.
> This would not require any core file modification and is upgrade safe.
> On Sun, Mar 25, 2018 at 6:49 PM, Tony Sandman <tonysandman999 at gmail.com>
>> I believe S.Warnat can help you. Google it out.
>> On Sat, Mar 24, 2018 at 11:12 PM, Garry Brighton <
>> garryatbrighton at gmail.com> wrote:
>>> Trying to get function to generate password in custom field, but for
>>> some reason different ways not working. What is your advice?
>>> makeRandomPassword or substr not returning any result.
>>> Can you share example of such?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtigercrm-developers