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

To change the status for required fields.

Taras (User)
Platinum Boarder
Posts: 2857
graphgraph
User Offline Click here to see the profile of this user
To change the status for required fields. 8 Years, 9 Months ago
Karma: 58  
Hello,

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



Code:
Code:

}else if (form.maker.value == '') {
                            window.scrollTo(0,findPosY(document.getElementById('maker'))-100);
                            document.getElementById('maker').style.borderColor = "#FF0000";
                            document.getElementById('maker').style.color = "#FF0000";
                            return;



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.
Thanks,
Taras
Logged Logged
The administrator has disabled public write access.
Go to top
»