Calendar Default Value to 1st of the current month?

Hi,

I want to perform a calculation based on how many days have elapsed since the ‘first of the current month’. I’ve not been able to find a snippet or work-around to get my calendar instance to default to the first of the month (I’m already using Gravity Forms Date Time Calculator - No joy there either).

Any help, as always, greatly appreciated

You can populate the date field with a default date following the steps below:

  1. Enable dynamic population for the field.

  2. Use the following filter to run your own custom code to return the default date value in the same format you have selected in the field settings: https://docs.gravityforms.com/gform_field_value_parameter_name/

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.