impress-org / givewp-snippet-library

A collection of code snippets to enhance or expand on the free Give WordPress Donation Plugin.
https://givewp.com
140 stars 90 forks source link

Make the fields required ? #24

Closed akobryan closed 7 years ago

akobryan commented 7 years ago

Hello,

Is-there a way to make all the fields required ? (as the "require last name" snippet does)

Thanks

akobryan commented 7 years ago

... My question is about the "add-billing-fields-to-paypal-standard" snippet. :)

DevinWalker commented 7 years ago

You want to make all the billing fields required as well? That's what I'm hearing?

akobryan commented 7 years ago

Yes, if possible.

DevinWalker commented 7 years ago

You can use this snippet to extend to the fields you need: https://github.com/WordImpress/Give-Snippet-Library/blob/master/form-customizations/require-last-name.php