- Posts: 13056
- Thank you received: 1696
OS Property support center
SOLVED !!! Mandatory address field
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
9 years 10 months ago #65301
by Mr. Dam
Replied by Mr. Dam on topic SOLVED !!! Mandatory address field
Hi,
To remove Required status of Address field in Agent registration form, please follow these steps
1. Open file: components > com_osproperty > helpers > layouts > agentregistration.php
2. Find
and change to
Thanks
Dam
To remove Required status of Address field in Agent registration form, please follow these steps
1. Open file: components > com_osproperty > helpers > layouts > agentregistration.php
2. Find
Code:
if(address.value == ""){
alert("<?php echo JText::_('OS_PLEASE_ENTER_ADDRESS')?>");
address.focus();
return false;
}else if(captcha_agent_register.value == 1){
and change to
Code:
if(captcha_agent_register.value == 1){
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Nina M
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 4
9 years 10 months ago #65338
by Nina M
Replied by Nina M on topic SOLVED !!! Mandatory address field
That didn't help. It is still requiring the address field be filled in.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 10 months ago #65339
by Mr. Dam
Replied by Mr. Dam on topic SOLVED !!! Mandatory address field
Hi Nina,
Please submit ticket and send your site information with super admin account so i can check the issue for you
Thanks
Dam
Please submit ticket and send your site information with super admin account so i can check the issue for you
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Nina M
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 4
9 years 10 months ago #65384
by Nina M
Replied by Nina M on topic SOLVED !!! Mandatory address field
I figured it out myself. You have to remove another bit of code related to the address near the end of the same file. Unfortunately it seems the system won't allow me to put the code in here but it is fairly obvious to see so hopefully that will help anyone who has the same problem in future.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 10 months ago #65385
by Mr. Dam
Replied by Mr. Dam on topic SOLVED !!! Mandatory address field
Hi Nina,
Thank you for your news.
Sincerely,
Dam
Thank you for your news.
Sincerely,
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.