Can client scripts be used for both lists and forms?

rakesh52
Kilo Contributor

Can client scripts be used for both lists and forms?

7 REPLIES 7

Any update on this?

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

Santosh_Ksagar
Mega Sage
Mega Sage

Hi Rakesh,

Client scripts are shipped to the client (the browser) and run there instead of on the server.

Several types of scripts are supported:
  • onLoad(): Runs when a form is loaded.
  • onChange(): Runs when a particular field value changes.
  • onSubmit(): Runs when a form is submitted.
  • onCellEdit(): Runs when a cell on a list changes value. ( runs on list view )

Please mark Correct/Helpful.

Regards

Santosh Kshirsagar

siva_
Giga Guru

All the client scripts cannot be used for both lists and forms , Oncell edit works only for lists while the rest ( onload , onchange and onsubmit) will work for forms

 

Hope that helps 

 

Thanks,

Siva