I'm trying to write a js function for updating a date field but all my attemps don't work. How do you get your result?mobilemcclintic wrote: ↑Wed Dec 14, 2016 5:22 pm I have a dropdown box that a user selects Yes, No or Pending with the dropdown field using "|Pending|1|Yes|0|No".
This dropdown has an onchange event on it that changes a date field, which works great.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Refresh date field
Refresh date field
-
- nuBuilder Team
- Posts: 4302
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: Refresh date field
Hi,
I've moved your question from the v3 to the nuBuilder Forte Forum.
nuSetDateValue() sets a date value in the date object indicated. If no second parameter is passed, the current date is set.
E.g.
I've moved your question from the v3 to the nuBuilder Forte Forum.
nuSetDateValue() sets a date value in the date object indicated. If no second parameter is passed, the current date is set.
E.g.
Code: Select all
nuSetDateValue('your_date_object_id','2022-01-29');
Re: Refresh date field
Thank you very much! I have to change my way of thinking, with nuBuilder everything is simplest.kev1n wrote: ↑Sat Jan 29, 2022 12:58 am Hi,
I've moved your question from the v3 to the nuBuilder Forte Forum.
nuSetDateValue() sets a date value in the date object indicated. If no second parameter is passed, the current date is set.
E.g.
Code: Select all
nuSetDateValue('your_date_object_id','2022-01-29');
