Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Date from another form is displayed as a text value in the current form

Archana
Contributor
February 15, 2023

Hi,

I created a confiform with Name and date (d/m/y) format and store data.

On a different form, I am trying to retrieve this data as a smart check box so that the use can select which dates he will be available. I am able to retrieve that data. However, it is displayed as text value eg: 12437380000.

can someone guide on how this can be fixed?

 

thanks! 

2 answers

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
February 15, 2023

Hi

First, the format for date is incorrect, as m stands for minutes. Therefore it must be d/M/y

When you configure your smart field please add the override label parameter to be

[entry.your_date_field.formatDate(d/M/y)] as otherwise, by default, it shows the timestamp (internal value it holds)

Alex

Archana
Contributor
February 16, 2023

I tried but I might be doing something wrong. Had the 'Override label value with custom label' as [entry.Dates.formatDate(d/M/y)]. But it shows me text value as 1673499780000

image.png

Alex Medved _ConfiForms_
Community Champion
February 16, 2023

Not sure what do you mean, sorry

But may be this little demo will help to understand what I was trying to say

http://recordit.co/rYjWwhXbQY

Alex

0 votes
Archana
Contributor
February 18, 2023

Thank you Alex!! This is really helpful 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events