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
Resolved
Posted in: LifeCare

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

  • 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
    Fem
    Keymaster
    • Topics: 2
    • Replies: 8473
    • Total posts: 8475
    • Post count: 6003

    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
    Fem
    Keymaster
    • Topics: 2
    • Replies: 8473
    • Total posts: 8475
    • Post count: 6003

    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
    Fem
    Keymaster
    • Topics: 2
    • Replies: 8473
    • Total posts: 8475
    • Post count: 6003

    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
    Fem
    Keymaster
    • Topics: 2
    • Replies: 8473
    • Total posts: 8475
    • Post count: 6003

    Solved your issue. Edited File: appointment_functions.php

You must be logged in to reply to this topic.