Need help with subtraction formula using Javascript

New Here ,
Aug 29, 2022 Aug 29, 2022

Copy link to clipboard

Copied

I am trying to fill out how many weeks someone works. 

In the first question, I'm asking how many weeks off work someone takes (WeeksOff)

I would like (WeeksWorked) to automatically calculate, 

so it should be 52 - WeeksOff

 

Can someone help me create a script?

TOPICS
JavaScript

Views

23

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 29, 2022 Aug 29, 2022

Copy link to clipboard

Copied

LATEST

If each of the fields are just blank fields in which a user will type in a number value, why not use Simplified Field Notation?

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines