QloApps Forums
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Custom Fields Customization

    Knowledge Base
    custom fields customization
    4
    4
    1413
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Luvo last edited by Luvo

      I want to customize the custom field in the hotel form.

      When I add a hotel, I want to make State mandatory.

      How do I do that?

      ![alt text](hotel.PNG image url)

      1 Reply Last reply Reply Quote 0
      • S
        Sumit Global Moderator last edited by

        @Luvo
        To show this filed as mandatory you have to modify the code.
        This page is from marketplace addon of QloApps.

        If your QloApps directory is 'hotelcommerce', Then this file's full path of marketplace module file will be hotelcommerce/modules/marketplace/views/templates/front/hotels/_partials/hotel-information.tpl

        In this file, find the label tag for State field and add class required in this label tag.

        < label for="hotel_state" class="control-label required" >
        

        In this way this field will be shown as mandatory.

        Hope you understand.

        1 Reply Last reply Reply Quote 0
        • P
          protrapper last edited by

          I want to add fields to registration form for customers

          1 Reply Last reply Reply Quote 0
          • Faiz
            Faiz last edited by

            Hi @protrapper
            Please refer to this thread: https://forums.qloapps.com/topic/351/frontend-registration-form/3

            1 Reply Last reply Reply Quote 0
            • First post
              Last post