The CreatorCon Call for Content is officially open! Get started here.

Autopopulate value using On CellEdit Script.

Pravershi
Tera Contributor

Hello Community,

Need Help with Client Script!

We wanted to auto-populate value from one table to another in the list view
For which wrote a cell edit client script and script include
We getting value in the alert box but it's not populating on the field

 

Here, am attaching a Screenshot of the script.

Client Script-

image_2024_04_18T23_55_58_048Z.pngimage_2024_04_18T23_55_48_573Z.png

 

Script Include-

image_2024_04_18T23_56_50_919Z.png

Please let me know what needs to be edited or changed.

Thank you and Regards,

Pravershi.

3 REPLIES 3

Jon23
Mega Sage

Hi @Pravershi  ,

Try using XMLWait instead in your client script.

Something like (lines 10-21):

	ga.getXMLWait();
	var response = ga.getAnswer();
	
	alert('Rate is: ' + response);
	g_form.setValue('u_rate', response);

callback(saveAndClose);
}

 

hi @Jon23 ,

Yes, I tried this option but unfortunately no favorable outcomes.