Default Phone Variable Value

akunk23
Kilo Contributor

Hello

Right now, when a user opens a service request, the form auto populates the phone number with the logged in user. I want the phone variable to be based off of the "requested for" variable. How would I go about doing this? Here is the script in the default value for the phone variable.

find_real_file.png

I'm not sure I'm wanting to actually get the userID? I may be wrong though. Thank you

13 REPLIES 13

No need to delete the default value, it will populate during onLoad time.


OnChange script, will work during onChange of user.


akunk23
Kilo Contributor

Thank you. I will leave it in there and try to get this onChange script working


If your issue was resolved, please mark my answer is correct or helpful, it will remove from unanswered list.


Madhu27
Tera Expert

Write client script, and populate the corresponding field