Buy Now
Sign in

Submit article expiry date

pcheng , September 28 2013, 08:24
P
pcheng 41
September 28 2013, 08:24 #317081
Hi everyone.

I want to use a chronoform to create an article but I want to be able to set the expiry date of the article using the form.

Is there a way to do this?

Thanks,

Pericles
GreyHead 64
September 28 2013, 09:33 #317082
Hi Pericles,

I would do it by adding a Custom Code action after the Submit Article action to update the Article record. ChronoForms will add the new article ID to the $form->data array so that is available to you.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much