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.
#18517
Taras (Admin)
Admin
Posts: 2858
graphgraph
User Offline Click here to see the profile of this user
To change the status for required fields. 9 Months, 1 Week ago Karma: 55  
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
What are you looking for?
Anti-spam question: How many eyes has a typical person?