Hi,
I have a table which is showing selected data from a dataset
To update few fields from a selected line in the table, I created text fields connected to the dataset fields.
For a date field, I would like to change the format a the date because too long.
How can I change the format ?
Thx for your help
Regards,
pym
Hi Pym. This is doable. You need to transform the content through the code of the page with the table. With standard javascripts you can display it any way you want.
Step 1: place a text element for the data (remove the date element)
Step 2: In the page code in the repeater ready function (or something simular) put the date in a variable
Step 3: create a string with the date elements you want to show
Step 4: assign the string to the text element
More explanation can be found in this post HERE a good example is in my reply from two days ago.
Hello Edgar,
I implemented your proposal using your explanation.
It works perfectly well !!!
many thanks for your help
regard,
pym