I have a tricky one. I need to create a form as part of a practice test. Within it, there are multiple dates that need to update based on the start date. They need to retain the time frames they currently have, but update accordingly with the start date. Is there a way to do that? For instance, if I'm showing that a license issue date is Jan 2 2021 and the expiration date is Feb 8 2024, and elsewhere on the examples there are signature dates and birthdates, those current date ranges, and ages should stay the same, just update to the start date of the given test. (So, if someone on the example has an expired license or was 24 in the example given, those aspects would remain the same, but the dates associated with them would change based on when the student took the test.
Hello, I have a vendor form that has listed the vendors address , I want to add a checkbox to pre populate the remittance address if they have the same remittance address. Can you please advise?
You need a dependent checkbox custom script that will validate the selection of vendors list and then populate remittance address. Feel free to contact me privately to discuss it further.
Have a request that is likely more basic. I have a checklist for a job process. I want to have a "completed on" row where the person responsible checks a box to the left of the date field and it populates the date (today) based on the checkbox being filled. Suggestions?
I'm assuming your checkbox name is "CB1" and text field "Date". var checkbox = this.getField("CB1"); var textField = this.getField("Date"); if (checkbox.value == "Yes") { textField.value = util.printd("dd/mm/yyyy", new Date()); } else { textField.value = ""; }
Very good tutorial! I learnt a lot. Thank you very much!
It looks like it counts leap year but what if you need the date to be the last day of the month and not 365 days later?
I have a tricky one. I need to create a form as part of a practice test. Within it, there are multiple dates that need to update based on the start date. They need to retain the time frames they currently have, but update accordingly with the start date. Is there a way to do that? For instance, if I'm showing that a license issue date is Jan 2 2021 and the expiration date is Feb 8 2024, and elsewhere on the examples there are signature dates and birthdates, those current date ranges, and ages should stay the same, just update to the start date of the given test. (So, if someone on the example has an expired license or was 24 in the example given, those aspects would remain the same, but the dates associated with them would change based on when the student took the test.
Hello, I have a vendor form that has listed the vendors address , I want to add a checkbox to pre populate the remittance address if they have the same remittance address. Can you please advise?
You need a dependent checkbox custom script that will validate the selection of vendors list and then populate remittance address. Feel free to contact me privately to discuss it further.
I would like to see Sum numeric fields based on selected checkboxes.
Anyway. Thanks for sharing.
Thank you
I'm glad it helped. Don't forget to like and subscribe to our channel: th-cam.com/channels/PnlaZYGCI3Yy11mvkoyVmw.html
Have a request that is likely more basic. I have a checklist for a job process. I want to have a "completed on" row where the person responsible checks a box to the left of the date field and it populates the date (today) based on the checkbox being filled. Suggestions?
I'm assuming your checkbox name is "CB1" and text field "Date".
var checkbox = this.getField("CB1");
var textField = this.getField("Date");
if (checkbox.value == "Yes") {
textField.value = util.printd("dd/mm/yyyy", new Date());
} else {
textField.value = "";
}
@@sarservices That works perfectly. Thank you so much!