Hi,
In the custom field repeatable group, there are 2 fields, a radio button which has 2 options, a Date field. Can a user select the radio button, at the same time Toolset automatically insert a current date-time without user interaction? Or is it any other design having the same approach?
Hello, there's nothing that will do this automatically for you but some custom code can achieve the same effect. If the post is created using Forms, the Forms API cred_save_data can be used to automatically set some value when the post is created or updated. If the post is created in wp-admin, the WordPress API save_post can be used to hook into the post save action. Then a custom field value can be created automatically when the post is saved.
We have information about the cred_save_data API available here: https://toolset.com/documentation/programmer-reference/cred-api/
Information about the WordPress save_post API is available here: https://developer.wordpress.org/reference/hooks/save_post/
Another ticket in the forum about a similar request: https://toolset.com/forums/topic/automatic-filling-date-fields/#post-1251117
Let me know if you have questions about this.
My issue is resolved now. Thank you!