Hi there! I have text box capturing the data from a picker date/time, I need this text box show the same data from the picker but now is showing the current data time.
I have set up the picker for time each 15 min.
You can see in the image that the slot for picker correspond to 9:45 and you can see in the text box below, the data captured is the current time 9:37, but I need the last one will be the same of the slot in the picker (9:45) not 9:37.
@mmendezgracia why don’t you set a state capturing your date/time picker and have the element currently displaying the current date/time reference the state instead?
Thank you so much for your answer @yousif . I think I did it, but the status is storing the current date, I need the status store the time with interval, like 10:45, not 10.42 (see inspector, status =“time-picker”)
Thank you, here is a bit tricky, I need the user no need to select the time, I need the system be able to select auto the interval time. it is possible?
PD. Sorry I was delay due the issues with bubble yesterday
my picker interval time is i.e. 10.45 (following the picture info)… but my current time is 10.42. when I print in the text element the value picker time, the value is the current time, but I need this value will be the interval time, I mean 10.45. that is possible ONLY if I select the interval time what I want.
but the big condition in my case, is that I dont want need the user select the interval time, I need that will be automated.
what I need is when curren time, that time belong to 10.45 interval time, so I need to print in the text the tex the interval time value autimated.
I know is necessary refresh the page maybe, but I can put a “every 10 mins refresh the page” action, without user intervetion.
I recorded a screen video for explain, as you can see when the picker is selected in the interval time I can execute a condition because the condition works with the same time interval (I have a list of reservation that customer can book in times with 15 min difference). But if the picker time interval is not selected, nothinkg happens. But if it not picked, the time that print is the current time! crazy…
If I understand correctly, you need to have the time stamp not populated if no timeslot is selected. If so, ensure that the state is only set when you select a timeslot and have the text element data source set to that state.