WeStandWithUkraine

64 Posts
Topy
4 years ago
6
Topic

Hello. Is there a posibility to automatically uncheck checkbox field after 24/48 hours ? I would like to add something like: special offer now and display my article in a custom search list if have custom offer field checked but i want to automatically uncheck after x hours.

And posibility cu check again if it have special offer now.

Get a VIP membership
4229 Posts
Kadministrator
4 years ago
0
Level 1

That would require totally custom code triggered by cronjob or visitors on the page, that would change value int he database. You cna use https://www.seblod.com/store/services

64 Posts
Topy
4 years ago
0
Level 1

Can you guide me where should i see this value ? I didn't find :( ...

4229 Posts
Kadministrator
4 years ago
0
Level 1

This guide explains where Seblod stores it's data

64 Posts
Topy
4 years ago
1
Level 1

Thank you @Klas !

Please tell me how to can do this scenario with conditional fields:

I want when someone click on  field X (checkbox) that have value 1, to autoinsert datetime in a hidden field of this event. But i want only when click on value 1 to autofill the datetime checkbox clicked.

I tried this scenario: This field - Date - is Filled  - When FieldX is Equal 1 

And this settings doesn't add the datetime of click :(

4229 Posts
Kadministrator
4 years ago
0
Level 2

You can't do this with conditionals, you will need to add some custom javascript,

64 Posts
Topy
4 years ago
0
Level 1

@Klas : It's there a solution to uncheck or remove value (radio) or set specific value when ( radio or checkbox ) each time i edit the form? I have a field name "Date available now" with radio 0=NO and 1=Yes. When i press yes, i have a field date filled by date_modified to inset the date  and show items from today(now). But the value of "Date available now" remain with value YES and i must select no, save and after edit again and set to yes. 

Get a Book for SEBLOD