Home page form not working

Hi,

Thanks for sharing the link of the website where you’re working on. We see the Search Form widget in the home page, which is good, because Shortcodes should never be published on your home page, only widgets/blocks should be there.

As you also noticed, everything is working fine, there are no JavaScript errors. The only issue is how the widget was set up, and how the parameter “Page” was left empty. This results into an invalid form action, hence into a landing page that isn’t connected to any Shortcode.

All you need to do to fix the issue is setting up the Shortcodes through the plugin VikRentCar from the apposite wp-admin page, and make sure to link your Shortcodes to a corresponding page by using the apposite button. You could also do that through the native Gutenberg block that comes with all our plugins. Also, we suggest setting up at least a few types of Shortcodes: Search Form, Cars List and Order Details. This will ensure all URL routing functions to work properly.

Once your Shortcodes have been set up, edit the settings of the widget in your home page through your preferred page builder plugin, and make sure to select a value for the drop-down menu “Page” by selecting one previously created Shortcode. This will determine the action URL of the search form widget in your home where the booking process will start.

We hope this helps!
The VikWP Team

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer