Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2025 12:00 AM
I want certificate issue and certificate expiry date on a table with condition that certification expiry date must be after certification issue date and need this condition on Submit. I want to show certificate expiry date only if certificate issue date is filled.
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2025 12:06 AM
You can write a UI Policy to show certificate expiry date and make it mandatory when certificate issue date is filled .
Condition : certificate issue date is empty
And reverse if false should be checked
UI POlicy Action: Mandtory : False, visible : False , Read only : true, Clear field value : checked
Use OnSubmit Client Script:
// Check backend names
var issueDate = g_form.getValue('u_certificate_issue_date');
var expiryDate = g_form.getValue('u_certificate_expiry_date');
if(issueDate !== ""){
if (issueDate >= expiryDate) {
alert("issueDateCertificate issue date must be after than Certificate Expiry Date");
return false;
}
}
Please mark my response correct and helpful, if it helps you.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2025 12:06 AM
You can write a UI Policy to show certificate expiry date and make it mandatory when certificate issue date is filled .
Condition : certificate issue date is empty
And reverse if false should be checked
UI POlicy Action: Mandtory : False, visible : False , Read only : true, Clear field value : checked
Use OnSubmit Client Script:
// Check backend names
var issueDate = g_form.getValue('u_certificate_issue_date');
var expiryDate = g_form.getValue('u_certificate_expiry_date');
if(issueDate !== ""){
if (issueDate >= expiryDate) {
alert("issueDateCertificate issue date must be after than Certificate Expiry Date");
return false;
}
}
Please mark my response correct and helpful, if it helps you.