[Vtigercrm-developers] Possible to add variables to URL when creating new record?

Rubén A. Estrada Orozco rulotec1 at gmail.com
Tue Jun 14 17:17:09 GMT 2022


It does work, just try this url:
https://demo.vtiger.com/vtigercrm/index.php?module=Contacts&view=Edit&firstname=John&lastname=Doe&email=john@doe.com
(not sure whether it's a security issue or not, but it works)
Saludos

Rubén


On Tue, Jun 14, 2022 at 6:53 AM Alan Lord <alanslists at gmail.com> wrote:

> Could you use a custom workflow function or an Event Handler?
>
> What's the use-case? Where does the value of the variable come from?
>
>
> Al
>
> On 14/06/2022 11:34, socialboostdk wrote:
> > Hi again all you clever people ;-)
> >
> > Is it possible to somehow add variables for fields to prefill fields?
> > Ie. lets say I want to create a new contact inside normal Vtiger 7.x and
> > want to somehow prefill "lead source" with a value, would that be
> > possible in the URL directly somehow?
> >
> > (or would I alternatively need to make some small JS that would catch
> > the &CF_xx=123 and fill it in?)
> >
> > Thanks :-)
> >
> > /Chris
> >
> > _______________________________________________
> > http://www.vtiger.com/
>
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20220614/f434b5e9/attachment.html>


More information about the vtigercrm-developers mailing list