[Resolved] ad a "no expiring" option to a publication form
This support ticket is created 2 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I want to put a non-expiration option in a publication form, this will allow the user to choose between a duration of 1 month and indefinite. Knowing that the automatic expiration is already in place. This would be an option that would allow to cancel it.
Is there any documentation that you are following?
Once you put an expiration option on your form then the post that it creates will automatically expire. What you need to do is to create a separate form without the expiration for users to setup the posts that they want to create with no expiration date.
Perhaps you can have a main screen that displays the different packages and each package will link to a different form that will set the expiration date or have no expiration date.
I would like to give the user the possibility to choose directly in the same form if they want a 1 month expiration date or no expiration date, with radio selector for example...
No this won't be possible to do as the form expiration is tied directly to the form itself. So the user won't be able to choose between unlimited and 1 month on the same form.