Hey @equestrianllc,
?Glad you reached out. I can help you with that.
1. The last name was designed to be optional because most of the payment gateway doesn’t require a last name. Right now, it’s possible to turn it into a required field by using custom code (the one you used, probably). However, it’s not possible to make it a radio button.
Although we do not have this feature out of the box, it would be interesting and valuable for us to understand how it would work for you and how it would improve your workflow, so the product development team has some insights about how it would behave.
Also, is there any workaround that you are using? It would be good to hear from you about that too, and what this feature would allow you to do. All ideas are appreciated, and I’m happy to share your insights with the product development team so that they can discuss the feasibility of this feature.
2. You can add this custom field using some custom code, like you can see here https://github.com/impress-org/givewp-snippet-library/blob/master/form-customizations/custom-fields-plugin.php
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.
On the other hand, there is an add-on called Form Field Manager (https://givewp.com/documentation/add-ons/form-field-manager/) that allows you to do that easier than adding it using custom code.
Thanks for using GiveWP! Have a great day.