Skip Navigation

[Résolu] ad a "no expiring" option to a publication form

This support ticket is created Il y a 2 années et 5 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par Shane Il y a 2 années et 5 mois.

Assisté par: Shane.

Auteur
Publications
#2384487

Tell us what you are trying to do?

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?

Is there a similar example that we can see?

What is the link to your site?
lien caché

#2384779

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Jean,

Thank you for getting in touch.

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.

Please let me know what you think of this.

Thanks,
Shane

#2384799

Hi Shane Thanks for your response,

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...

Is that possible ?

Thanks
Jean

#2384811

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

HI Jean,

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.

Thanks,
Shane