Title: Reg No Validation
Last modified: May 14, 2021

---

# Reg No Validation

 *  [websiteguybd](https://wordpress.org/support/users/websiteguybd/)
 * (@websiteguybd)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/reg-no-validation/)
 * Hi,
    Thanks for your amazing plugin. It’s great and I am very happy to use it.
 * But there is a basic flaw I found, if there is a way to fix it, I will start 
   dancing here. Let me describe my issues.
 * 1. The form does not validate the data. If I input a random ABCD it pass me to
   the manual page I added.
    2. Now the validation is not there, if someone inputs
   a reg that is not in DB, it is breaking the page.
 * If you can validate and do not pass users unless they give us a valid Reg, it
   will fix my issue.
    If that’s not possible, anyway to just show a custom message?
   And let the user input the reg again? JSON shortcut I use on top of the page,
   it braking my pages. If you can please take a look at this URL and try REG ABCD123456
   [https://web210410.websiteguy.online/](https://web210410.websiteguy.online/)
 * Waiting to hear from you.
    Thanks in advance Rokib Hasan
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Freg-no-validation%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Rapid Car Check](https://wordpress.org/support/users/rapidcarcheck/)
 * (@rapidcarcheck)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/reg-no-validation/#post-14452072)
 * Hello, hope you are well.
 * The registration is queried on the results page, if nothing is found then the
   message “Vehicle Not Found, Please go back and try again.” is displayed with 
   a link back to the previous page (if a http_referrer is set).
 * This code could be changed to something custom by replacing lines 38-42 of free_vehicle_data_shortcodes.
   php with the custom code you desire.
 * I hope this helps,
    Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Reg No Validation’ is closed to new replies.

 * ![](https://ps.w.org/free-vehicle-data-uk/assets/icon-256x256.png?rev=3314269)
 * [Rapid Car Check Vehicle Data](https://wordpress.org/plugins/free-vehicle-data-uk/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/free-vehicle-data-uk/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/free-vehicle-data-uk/)
 * [Active Topics](https://wordpress.org/support/plugin/free-vehicle-data-uk/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/free-vehicle-data-uk/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/free-vehicle-data-uk/reviews/)

## Tags

 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rapid Car Check](https://wordpress.org/support/users/rapidcarcheck/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/reg-no-validation/#post-14452072)
 * Status: not resolved