Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Drop Field Set Text Comb Field Length

Avatar

Level 4

I have a Text Comb Field with a comb of 7 characters. What I would like to happen is if the user selects one of the options in a Drop Down feild it would only allow for all 7 characters, if they select the other option it would put two X for two of the characters and only allow the user to add the other 5 characters.

Is there a way to make this happen?

Thanks

Parre

3 Replies

Avatar

Level 5

Hi , I assumed ur req as follows.

When u select one option u need to display some text which has 7 chars.

when u select the rem option u need to display "XX_____"(two XX's and 5 rem chars).

I have created two textfields one by default hidden and other one is visible.

Based on ur req script vl work.

u can have a look at the below attached PDF

https://acrobat.com/?d=rnt6bPOcXKESgqv8nNNxqw

Cheers

Avatar

Level 4

This is a step in the right direction. The action regarding the 5 char is just what I want, regarding the 7 char I want the user to input the 7 chars.

Thank

Avatar

Level 5

https://workspaces.acrobat.com/?d=*gKrqaW*4BpAcJ6CPAaWCg

There were small changes in the script.Now u can have a look at the above one.

Thanks