apigee / apigee-m10n-drupal

Add monetization features to a Drupal developer portal
https://www.drupal.org/project/apigee_m10n
GNU General Public License v2.0
13 stars 13 forks source link

Add datepicker format option to subscription start and end date or at least a format placeholder #403

Closed cen1 closed 1 year ago

cen1 commented 1 year ago

Description

The start and end date fields for subscription purchase are just plain text inputs. Customer has no clue what format the date should be inserted as. At the minimum, a placeholder of the date format should be added. An even better option would be to replace the text inputs with datepickers. This could be selectable with field format options.

Screenshot 2022-10-21 at 13 42 25
divya-intelli commented 1 year ago

Hi @cen1 ,

On the rate plan subscription page there is only a start date field. Screenshot from 2022-10-25 14-18-45

Can you let us know which page you are able to see start time and end time.

cen1 commented 1 year ago

We see these two fields when we add the Purchase field to the rate plan display.

Screenshot 2022-10-26 at 14 40 14

divya-intelli commented 1 year ago

Hi @cen1 , From the screenshot it seems like you're using ApigeeX. For ApigeeX you need not add the start time and end time fields as these fields entry is not send in api request. The start time is set automatically by the api. Please disable these fields from 'admin/config/apigee-monetization/purchased-product-settings/form-display'.

cen1 commented 1 year ago

Thank you. I would never in a million years figure out that is the form I needed to change.