Mandatory Fields
Posted by TWendt - Mar 3 ’17 at 06:18
Hi,
i have a choice field Yes / NO (Radio buttons). If one of both (Yes or No) of the choice field is marked, the field Name and Status should be mandatory. Thanks for your assistance.
Here is the script, but it does not work:
fd.onsubmit(function() {
if (fd.field('Freigabe').value()=="" && !fd.field('Datum').value())|| !fd.field('Name').value()) {
alert('Please, fill in Date and Name field.');
return false;
}
return true;
});
Best wishes
Tom
-
Dmitry KozlovAdminMember for: 9 years 8 months 7 days
Hi Tom,
Here is a sample:
if (fd.field('YesNo1').value() && fd.field('YesNo2').value()) { if (!fd.field('Name').value() || fd.field('Status').value()) { alert('Fill-in both Name and Status!'); return false; } } return true;
-
retrogressMemberMember for: 2 years 4 months
When I read this article, thanks to the author for the thorough explanation, I learned absolutely everything about my issue. On the https://essaysservicesreviews.com/essay-pro-review/, I wrote my review. You can go in and read it. Many thanks for your attention and for your time.
-
AndresFerryMemberMember for: 2 years 3 months 26 days
These online forums have made our life very easy. With the help of these master papers online forums, we can share our content and get an idea about other forums from there. There is not only one single person sitting there to help you, there are thousands of people to help you.
-
MindyHenryMemberMember for: 2 years 2 months 2 days
Exercises gained from the individuals who have occupied with betrayal and gotten captured. As youngsters, we got our hands trapped in the treat container. Also, as grown-ups we endeavor the same kinds of things. chinese buffet near me is consistently the same. We need what we shouldn't have; and we need to have it regardless of the guidelines.