How to create rules on attachments
How do you check if Attachment field is null?
I tried manipulating various attributes of the code you provided here, but nothing worked:
viewtopic.php?f=4&t=132
viewtopic.php?f=1&t=405
I tried manipulating various attributes of the code you provided here, but nothing worked:
viewtopic.php?f=4&t=132
viewtopic.php?f=1&t=405
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
This code works perfectly for me:
Please, make sure that you don't have JS errors or notifications in the browser console.
This code works perfectly for me:
Code: Select all
fd.onsubmit(function() {
if ($('#idAttachmentsTable tr').length == 0) {
alert('Please, add an attachment.');
return false;
}
return true;
});
-
- Information
-
Who is online
Users browsing this forum: No registered users and 14 guests