Button action depend by date

vipzeus

Member
I have a big form with custom template.

I need a button where on click send a query in database for changing the status order.

The button must be visibily only if the date_warranty is bigger then date_now.

Is it possible to do this with button_element?
 
Nope. Well, you could put a 'click' event on the button and write the JS in that to kick off an AJAX call to the server, but showing / hiding the button would have to be done in the template. And of course you'll need the user_ajax.php to handle changing the status.

Something for one of our Skype sessions, I think.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top