Support » Plugin: Give - Donation Plugin and Fundraising Platform » Custom field validation

  • Resolved sunlight1976

    (@sunlight1976)



    Hi,
    first of all many thanks for your great plugin.
    I’m trying to use in our red cross website.

    Using your instructions I created custom fields:
    https://givewp.com/documentation/developers/how-to-create-custom-form-fields/

    I added some fields and validations.. and all is ok.

    I would like to add a validation regarding the total donation (is an input by the user)
    I cannot accept donations greater than xx €
    how can I get the user typed donation to make a validation ?
    (something like $data[‘give_referral’] i mean)
    Looking into html source it seems to be $data[‘give-amount’] but it doesn’t seems to work

    many thanks for your work

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