OS Property support center

Required fields in form

  • Richard
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 4 months ago #56021 by Richard
Required fields in form was created by Richard
Hi,

I would like to make some of the fields required in the form to ask more details about properties on the property details page.

Thank you

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #56027 by Mr. Dam
Replied by Mr. Dam on topic Required fields in form
Hi Richard,
To modify the "Ask more details" form, you can make the modification on file:
components > com_osproperty > templates > your_using_template > details.html.tpl.php
if you are using theme3, it will be : components > com_osproperty > templates > theme3 > request.html.tpl.php
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Richard
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 4 months ago #56036 by Richard
Replied by Richard on topic Required fields in form
Ok, thank you, how do I make it required? I don't know much about php...

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #56082 by Mr. Dam
Replied by Mr. Dam on topic Required fields in form
Hi,
I am not sure with you want, so i can only let you know the PHP file that you can make the modification.
In that file, if you search "updateRequestForm", you will see the Javascript function where you can modify to add the fields that you want to make it required.
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #56643 by sinhoboc
Replied by sinhoboc on topic Required fields in form
Hi
Where can rewrite (translate) the requesting fields another langage than english?
Thank you

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #56693 by Mr. Dam
Replied by Mr. Dam on topic Required fields in form
Hi,
You can use translation tool at Back-end of OS Property to translate the options of Request More Details form. Please see my screenshot.
Thanks
Dam
Attachments:

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #56893 by sinhoboc
Replied by sinhoboc on topic Required fields in form
Ok
I translated 1-6 field in the translating section.
It creates the sentences in other language. But the dropdown menu is still English. How can I translate that.
Thank you.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #56921 by Mr. Dam
Replied by Mr. Dam on topic Required fields in form
Hi,
Please submit ticket and send your site information with super admin acc. I will check the issue for you
Thanks
Dam
The following user(s) said Thank You: sinhoboc

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan