• Resolved tyronius

    (@tyronius)


    how do I hide the mm/dd/yy from a date field. I already use CSS to hide the label for certain fields, but it doesn’t work to hide the mm/dd/yyy label that seems to be the default with the date field.

    also, in a calculated field, what formula would i use to display the same day (same number) of the following month? it cannot be “+30” because some months have 31 days. see example below:

    Start Date Payment Date

    1/15/23 2/15/23

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @tyronius

    To hide the date format from the field’s label, enter the style definition below through the “Customize Form Design” attribute in the “Form Settings” tab (https://resources.developers4web.com/cff/images/documentation/form-settings-tab.png):

    #fbuilder .dformat{display: none !important;}

    To increase the entered date in one month, use the DATETIMESUM operation in the Date/Time operations module (https://cff.dwbooster.com/documentation#datetime-module)

    For example, assuming fieldname1 is the date field, and you want to increase its date by one month. Insert a calculated field in the form and enter the equation:

    GETDATETIMESTRING(DATETIMESUM(fieldname1, 'mm/dd/yyyy', 1, 'm'), 'mm/dd/yyyy')

    The DATETIMESUM operation returns a date object, and the GETDATETIMESTRING operation transforms it into a text with date format.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Hide mm/dd/yy label’ is closed to new replies.