Your Time:
Our Time:
← Back to discussions

Required Fields in Appointment Page

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 7 replies, 2 voices, and was last updated 10 years, 5 months ago by Anonymous.

  • 2016-03-24 at 2:16 am
    Support Expired
    #13471
    dombarnard
    Participant
    • Topics: 3
    • Replies: 7
    • Total posts: 10
    • Post count: 7

    Hi – please can you tell me how I can disable required fields on the Lifecare Theme Appointments page? I have removed the Department field from template_appointment.php but when I click the submit button it is still asking for the user to Select Department. Been looking for hours and can’t find it!

    2016-03-24 at 10:17 am
    #13474
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    There are some 2 to 3 files to be edited. If you can provide us wp logins, then we can do it for you. Provide us logins along with website url and mention what are the fields to be removed.

    2016-03-24 at 4:52 pm
    Support Expired
    #13478
    dombarnard
    Participant
    • Topics: 3
    • Replies: 7
    • Total posts: 10
    • Post count: 7
    This reply has been marked as private.
    2016-03-24 at 5:08 pm
    #13480
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Your issue is solved. Just commented the lines in lifecare/medical/appointment/appointment_functions.php, update_appt_functions.php files.

    2016-03-24 at 5:09 pm
    Support Expired
    #13481
    dombarnard
    Participant
    • Topics: 3
    • Replies: 7
    • Total posts: 10
    • Post count: 7

    Many thanks, very efficient!

    Finally, how do I stop the website visitor getting an appointment confirmation email, please?

    2016-03-24 at 6:16 pm
    #13483
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Do comment this line wp_mail( $client_email,$confirm_email_subject, $confirm_email_msg,$headers ); in appointment_functions.php on line#531.

    2016-03-24 at 6:43 pm
    Support Expired
    #13484
    dombarnard
    Participant
    • Topics: 3
    • Replies: 7
    • Total posts: 10
    • Post count: 7

    Thank you – I deleted this line and it worked perfectly!

    FINALLY – I have a email generated which includes [appointment_note] in case the user has added message to the appointment form, but the [appointment_note] isn’t displaying.

    This is probably something I have done? Could you look at it please and I’ll buy you some coffee!!

    Dom

    2016-03-25 at 11:20 am
    #13489
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Solved your issue. Edited File: appointment_functions.php

You must be logged in to reply to this topic.