R.IN.G.O Lavoro Over 40
Member
This is my form:
When the user inserts a date in Attivato il, I want fill Attivato da with the current user using JS .
Attivato da is a DatabaseJoinElement linked to _users table, displaying name.
I tried reading the value of Utente ultima modifica that is a User plugin with option Update on edit, Form (add) = Superuser and Form (edit) = Superuser (so normal users cannot modify).
I became mad (1 day!) before understand that JS doesn't return the raw value (it gave me error) but only the the name without _raw.
So I added id_utente_corrente Hidden (in the screenshot is displayed to explain better); the result is very very strange:
...(all numbers)...
It is first time I see this...
It works well (the name of user is displayed) if I set Attivato da as Form (add) = Registered and Form (edit) = Registered.
I have just updated (this afternoon) to J! 3.4.3 and Fabrik from GitHub (downloaded this afternoon).
How can I solve/work around?
When the user inserts a date in Attivato il, I want fill Attivato da with the current user using JS .
Attivato da is a DatabaseJoinElement linked to _users table, displaying name.
I tried reading the value of Utente ultima modifica that is a User plugin with option Update on edit, Form (add) = Superuser and Form (edit) = Superuser (so normal users cannot modify).
I became mad (1 day!) before understand that JS doesn't return the raw value (it gave me error) but only the the name without _raw.
So I added id_utente_corrente Hidden (in the screenshot is displayed to explain better); the result is very very strange:
...(all numbers)...
It is first time I see this...
It works well (the name of user is displayed) if I set Attivato da as Form (add) = Registered and Form (edit) = Registered.
I have just updated (this afternoon) to J! 3.4.3 and Fabrik from GitHub (downloaded this afternoon).
How can I solve/work around?