I have created a onChange client Script auto populate the user's mobile number

kranthi2
Tera Expert

Hi,

I have created a onChange client Script auto populate the user's mobile number, but it is not working as per the expectation.

please find the below mentioned SS

 

 

kranthi2_0-1706188251386.png

 

onLoad:

 

kranthi2_1-1706188314241.png

 

onload is working fine but onchange is not working.

 

Thanks,

 

 

 

Thanks,

 

 

 

12 REPLIES 12

Harsh Vardhan
Giga Patron

@kranthi2  In your onChange client script you missed variable "r" declaration on line 11.

 

var r = g_form.getReferece('caller_id', getprop);

 

 

 

Hi @Harsh Vardhan 

Thanks for your early response.

 

Please find the below SS:

 

 

kranthi2_1-1706189235664.png

 

Not working as per the below SS:

 

kranthi2_2-1706189328756.png

 

 

 

Thanks,

 

 

 

@kranthi2  Which variable is caller_id ? is it opened for variable ?  can you double check variable backend name is correct ?

@Harsh Vardhan 

Yes it is for caller_id=opened for back end name.

 

kranthi2_0-1706189802357.png