OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
To change the status for required fields. (0 viewing) 
VehicleManager component support
Go to bottom Favoured: 0
TOPIC: To change the status for required fields.
Taras (User)
Platinum Boarder
Posts: 2857
User Offline Click here to see the profile of this user
To change the status for required fields. 2 Years, 4 Months ago Karma: 58  

To remove required field you need go to your website/components/com_vehiclemanager and open file vehiclemanager.html.php then find "static function editVehicle"

and delete for required field "Maker:*" below code


}else if (form.maker.value == '') {
                            document.getElementById('maker').style.borderColor = "#FF0000";
                            document.getElementById('maker').style.color = "#FF0000";

That changes for adding Vehicle from FRONTEND.

FOR backend (adding house from backend) you need edit the same file and delete the same code, but in your website/administrator/components/com_vehiclemanager

The same changes you need make for other fields. Check also attache image for more deatils

Before make any change make a copy of file.
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?