• Resolved mayank6169

    (@mayank6169)


    I have installed and setup giveup last month and using classic form I can see that there was a phone number field available while I was still testing the form.

    I am not sure what did I do or if after adding the payment gateway or what, but I don’t see the phone number field in the form anymore.

    How can I get it back? And I am sure I never used any snippets before to specifically add a phone number field.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Matheus Martins

    (@matheusfd)

    Hi, @mayank6169.

    ?Glad you reached out. I can clarify here.

    The GiveWP plugin was designed in a way that it needs only the first name, email and a positive amount to create a donation record. Apart from the last name field, all other fields are generated by other plugins or some custom code.

    We know that the Razorpay payment gateway asks for a phone number, so it’s created automatically.

    But the GiveWP plugin itself does not have a phone number field, so I’m unsure why this field was showing up for you previously since we do not create or have it.

    If you want to create a new field, you can use some custom code for that. We have documentation about it here https://givewp.com/documentation/developers/how-to-create-custom-form-fields/ with several examples you can use.

    If you need assistance implementing custom PHP code on your website we have this guide:

    https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/

    Please note that this code snippet is provided as an example of how you can extend GiveWP with code. It’s up to you to implement and customize to your liking. We cannot provide support for custom code on your website, only the code that we create and distribute.

    ?Please let us know if you have further questions or need additional assistance!

    Thread Starter mayank6169

    (@mayank6169)

    That explains why I had a phone number field before, as I was using a different payment gateway. Thanks!

    Plugin Support Matheus Martins

    (@matheusfd)

    You are welcome, @mayank6169.

    Let us know if you have further questions or need additional assistance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Phone Number field disappeared’ is closed to new replies.