• I need the zip code tracking field on the form.
    Which plugin can be done this work?

    • This topic was modified 2 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not a Requests and Feedback topic
Viewing 6 replies - 1 through 6 (of 6 total)
  • Which form?

    Thread Starter Mashud Rana

    (@mashud351)

    Please give name any form plugin which can be done zip code tracking

    I don’t quite understand what you mean by “zip code tracking”? Are you talking about checking the input in a form field to see if it is a valid zip code? If so, what country are we talking about?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not a Requests and Feedback topic.

    Please give name any form plugin which can be done zip code tracking

    Not one does that.

    You’ll need to explain some more but if that’s your form requirement then there is no plugin that does just that.

    Thread Starter Mashud Rana

    (@mashud351)

    I am talking about checking the input in a form field to see if it is a valid zip code?

    Country :France

    It depends on how far you want to validate the postal codes from France. If you only want to validate the format, the form field should only check if the input consists of 5 numbers and does not start with a 0. An example of this can be seen here: https://rgxdb.com/r/354H8M0X

    To include this in a form plugin of your choice, you’ll need to write this individually with JavaScript and/or PHP. There is a possibility in HTML to add a validation to an input field. Examples can be seen here: https://www.html5pattern.com/Postal_Codes – for France you would have to use the regular expression from the link above. To be able to do this, you would have to modify the form plugin you have chosen individually.
    As far as I could research just now, there are no ready plugins for France for such a case. For Contact Form 7 you could add a custom validation as described in the tutorial here: https://contactform7.com/2015/03/28/custom-validation/

    If you want to check not only the format but also the actual existence of a postal code, you would first need a complete list of postal codes in France. I don’t know where you could get it – at least in Germany there are such lists at OpenStreetMap or similar open source projects. You could use this list as a basis for such a validation. For Gravity Forms, there is a tutorial on how to validate an input in a form field against such a list: https://gravitywiz.com/gravity-forms-zip-code-validation/

    If you need development support, you can certainly find someone here: https://jobs.wordpress.net

    If you have further questions about a specific form plugin, contact other support. The commercial plugins can certainly support you with individual developments for an additional charge.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Zip code tracking plugin WordPress’ is closed to new replies.