Add spaces to rendered field

Hello guys

I have a question regarding template and data-field manipulation.

For example I have table and want to apply some changes to field data-field=“Field” and displayed @Field@.

For example want to trim, add some spaces, check length etc

How the script for this will looks like?

Best regards
Adam

Hi @Odyn, please see the “Quick-start a script” section at PReS Connect 2022.1 User Guide

Remember that you also need that workaround for the issue with “this.record” in combination with data-hide-when-empty, which we discussed in your other thread.

1 Like