Hello,
To remove the mandatory field you need go to your website/components/com_realestatemanager and open file realestatemanager.html.php then find "static function editHouse"
and delete for "year" this code
Code: |
} else if (form.year.value == ''){
window.scrollTo(0,findPosY(document.getElementById('rooms_alert')));
document.getElementById('alert_year').innerHTML =
"<?php echo _REALESTATE_MANAGER_INFOTEXT_JS_BUILD_YEAR; ?>";
document.getElementById('alert_year').style.color = "red";
document.getElementById('alert_year').style.color = "#FF0000";
return;
|
This changes for adding house from FRONTEND.
FOR backend (adding house from backend) you need edit the same file and delete the same code, but inyour website/administrator/components/com_realestatemanager
Before make any change make a copy of file.
Thanks,
Taras