Client Script not working on glide_list field

Jonathan Strobe
Tera Contributor

I am trying to write a client script against a glide_list field that will remove the lock aspect on the field upon load.

function onLoad()  {

      //The X Field is a glide field but this script removes the lock from the field

       ( ' table_field_unlock ' ).click();

 

 

 

Please be kind I am new to scripting 

 

9 REPLIES 9

Allen

 

Thank you for helping me. I cant be to overly specific because of where i work but I will try.

this is my script;

 

function onLoad()  {

      //The X Field is a glide field but this script removes the lock from the field 

       ( ' table_field_unlock ' ).click();

 

"The X Field is a glide field but this script removes the lock from the field" - this part is just the comment for the script. I wasnt trying to be confusing. Basically I have a field the additional assignee which is a glide_list field and I need to make the field not have the functionality of the lock/unlock. I need it to be editable without the lock/unlock function. So I was hoping that this client script would do it. I believe I have replicated the client script exactly from the website that you reference in your initial answer but still I cant get it to work. Does that make sense?

 

 

 

Hi,

The website I'm referring to and this script would merely set the "lock" icon to "unlock" meaning you can edit it, but you're saying you don't even want it there at all? You want it completely removed/hidden and just always editable, is that correct?

 

I'm unsure why you'd have to say anything about where you work, we don't need any of that information.

 

I'm just trying to clarify what you're asking because you're saying one thing, but then you were using script and providing script that does something else, altogether. That's all 🙂


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Allen

   

 This probably just comes down to me being new at this process. You are completely correct I want it removed/hidden and always editable. 

 

Jonathan 

Hi,

Ok, great, glad my replies have been helpful thus far to uncover what exactly you are trying to do.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Allen 

 

    Do you know how to author a client script that would remove the lock from a glide_list field?

 

Jonathan