In wordpress with Create Custom Form Plugin in WordPress to make very much easy part .
you must knowledge of to make custom plugin so easy to understand that. let’s here i teach you one by one step wise how to make Programmatically wordpress plugin
this is common code of making plugin by this code you can create plugin. lets now we make shortcode for form.
by this code you can make shortcode in plugin so you can be add if any field there now we should use init action for wordpress by that we can perform any action.
for this you can inner if condition you can perform anything for code
below i describe whole plugin code
this way you can easy to make Custom form with plugin in wordpress