You are viewing limited content. For full access, please sign in.

Question

Question

FORMS IN CLOUD

asked on May 11, 2022 Show version history

Hello, I need mask my password but I dont Know what happen with JS  in new forms some codes if they catch help me ITS CLOUD

 

NONE WORKS

 

 

 

0 0

Replies

replied on May 11, 2022

Maybe a dumb question, but is "Field3" the correct selector? I'd guess from the screenshot it should be "q3".

1 0
replied on May 12, 2022 Show version history

I’m guessing that is not it.  If #q3 is the id of the entire field (the top level element which contains all the parts like the input element, the label, the text above and below, etc.) then the input element itself will have an id of #Field3.  Assuming the structure isn’t completely different in Cloud.

I think the issue is that line 2 of the Javascript is outside of the document ready block and therefore may be triggering before the field is even created.  Does the behavior change if that line is moved within the document ready block?

1 0
replied on May 12, 2022 Show version history

Is the same case , I put two different codes to have which one masks the password but none grabs, now with #q3 and #Field3 is the same case 

 

 

 

0 0
replied on May 12, 2022

Bummer - I hoped that would work.

Unfortunately, I'm not in cloud, so I can't test the JavaScript in new designer on my end.

Hopefully someone else will respond with some other ideas.  Good luck!

1 0
replied on May 12, 2022

Thanks my friend

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.