TrevorG
Novice

Removing characters from a calendar output

Hi all, 

 

I am wanting to create a unique ID which consists of three fields that customers fill out, one of these fields will be a current date.  

The calendar is just the generic field used in K2, and the output is in this form: xx/yy/zzzz or xx-yy-zzzz. 

 

How do I remove these from this output? I am wanting to have my output as xxyyzzzz. 

 

Cheers, 

0 Kudos
Reply
1 Reply
boringNerd1
Novice

Re: Removing characters from a calendar output

Hi,


 


You can create an expression to format the Calendar control's returned date.


 


8873iADF9F16D49D322FB.png


 


Then use that expression in your form rules, or map it to another controls. To create an expression, you can select a data label or any text control, then access the list of expressions under the control Properties panel. If you do not intend to use the newly created on the text control or data label, remeber to unselect it after you created a new expression.


 

0 Kudos
Reply