fieldname 14 : Start Date fieldname 15 : End Date It expresses.
My 1st question = Printing error message if fieldname 14 field is greater than fieldname 15 field.
My 2nd question: How do we calculate business days NETWORKDAYS by adding the number of days from the start date (fieldname24) to the criterion = (fieldname 23 === ‘B’)? Can you help me complete the formula?
(function() {
var kriter3;
if (DATEOBJ(fieldname14, 'dd/mm/yyyy').getTime() > DATEOBJ(fieldname15, 'dd/mm/yyyy').getTime()) {
jQuery('#calculation-kriter3').html('Seçilen tarih ileri bir tarihdir.');
return 'Seçilen tarih ileri bir tarihdir.';
} else {
if (fieldname23 === 'A') {
kriter3 = NETWORKDAYS(fieldname15, fieldname14, "dd/mm/yyyy");
jQuery('#calculation-kriter3').html(kriter3);
jQuery('.kriter3-aciklama').html('İş Günü Sayısı : ');
jQuery('.kriter3-sonuc').html(kriter3 + ' gün');
}
if (fieldname23 === 'B') {
kriter3 = DATETIMESUM(fieldname14, 'dd/mm/yyyy', fieldname24, 'd');
jQuery('#calculation-kriter3').html(kriter3);
jQuery('.kriter3-aciklama').html('İş Günü Sonrası Tarih : ');
jQuery('.kriter3-sonuc').html(kriter3);
}
return [kriter3];
})();
Hello; I looked at that Part but I want exactly this. For example, the names of the days between April 20-25; abbreviated side by side I couldn’t find how to do it as (Fri.Sat.Sun.Sun). I would be happy if you help.
In this case, you can make a plain object with days numbers as property names and the text you want to display as property values, and then use the WEEKDAY operation as the property name to get the corresponding value.
If you need its implementation as an operation you can call from different equations on your form, you can contact us directly through the plugin website: Contact Us
First of all, I did not run a contrary command in this date calculation, but I am getting this error. I wanted to inform you that it may be related to the plugin.
My second question is, if I make the results on mobile 10px, both desktop and mobile are 10px. I wonder if my mobile view criteria are wrong? thanks.
Now that I couldn’t explain it fully, I’ll write it again. I want the font size of the results section to be 10px on the mobile version of the site, but it should still run at 14px on the desktop. For this
@media (max-width:710px){
I added the field and defined the mobile-result and mobile-description tag values in the result section.