• Resolved designbyj2

    (@designbyj2)


    I am trying to setup the custom field area to provide a scheduled date on a ticket using the provided documentation (https://getawesomesupport.com/documentation/awesome-support/custom-fields/)

    I have been able to successfully create other field types (text, textarea, email, number, etc.), but do not see anything when I choose the date field option.

    This is the code that I was testing:

    wpas_add_custom_field( ‘schdate’, array(
    ‘title’ => ‘Scheduled’,
    ‘field_type’ => ‘date’,
    ‘show_column’ => true,
    ‘sortable_column’ => true
    ) );

    Any insight into this would be helpful. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author awesomesupport

    (@awesomesupport)

    Hello:

    I think since ‘date’ is reserved for lots of things, it needs to be changed to date-field. We will update our documentation to reflect this – thanks for bringing the typo to our attention. Sorry about the mixup!

    Thanks!

    Thread Starter designbyj2

    (@designbyj2)

    Thank you so much!

    I thought I was going crazy! 🙂

    I made the adjustment and we are back in business!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Field Date Issue’ is closed to new replies.