Hello,
To remove the mandatory fields you need go to your website/components/com_realestatemanager and open file realestatemanager.html.php then find "static function editHouse"
and delete for examples for field rooms this code
Code: |
else if (form.rooms.value == '' || !isValidNumber(form.rooms.value)){
window.scrollTo(0,findPosY(document.getElementById('rooms_alert')));
document.getElementById('rooms_alert').innerHTML =
"<?php echo _REALESTATE_MANAGER_INFOTEXT_JS_ROOMS; ?>";
document.getElementById('rooms_alert').style.color = "red";
document.getElementById('rooms').style.borderColor = "#FF0000";
document.getElementById('rooms').style.color = "#FF0000";
return;
}
|
This changes for frontend; for backend need edit the same file realestatemanager.html.php and function, but in your website/administrator/components/com_realestatemanager
The same for other values.
Before make any change make a copy of file.