Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions

Membership Form with Start and End Dates




16 May 2010 at 2:57pm Community Member, 7 Posts

I'm creating a form for a membership registration. What I'm trying to accomplish is to append two dates to the data that I collect from the form and send it to the database. I want today's date and today's date plus one year. I can't find a good example. I've got a new Class, Membership_Submission, that gets called when the Submit button is clicked. I'm sure that's were I'll put this code. I just can't figure out or find an example of generating the two dates I need and adding them to the collection of data that comes from the form.

Any help is greatly appreciated.