Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #7931
    baljee
    Member

    How can i prevent users from selecting more than one category? I am using automatic mail based on new posts per category. I am seeing the same posts because some users select all categories. This is not what we need.

    #7933

    Hello,

    Documentation – https://www.beprosoftware.com/documentation/conditional-form-fields/
    Demo – https://beprothemes.com/catalog/submit-a-listing/

    OR

    You are using the Form Builder. It is easy to use any field and make it the Category field. I would suggest using a select box option with the field name “categories[]”

    Documentation – https://www.beprosoftware.com/documentation/customizing-bepro-listings-fields/
    ___
    BePro Software Team

    #7940
    baljee
    Member

    Thanks for your response, the latter option is what i needed. I have added a dropdown which i name categories. It then ads the listing with the correct categorie in the backend. But it doesn’t show up correctly in the frontend. It shows up as: “Name of the dropdown: -NA” in my case: Kies de rubriek: – NA.

    How can i correct this?

    #7944

    Hi,

    Does this happen when the option is left blank or is the selected option not being shown? Can you share a screenshot or a link to the issue to help us understand?
    ___
    BePro Software Team

    #7948
    baljee
    Member

    Hi, thank you for your response.

    I have attached multiple screenshots. This is the testing listing: http://www.passieinactie.nl/Aanbod/dit-is-een-droom-om-te-testen/

    When I create a listing via the front-end form.
    Frontendform filled in

    It results in the listing tot show up with the correct category. Search function works as well.
    Result with correct category

    The detail shows up:
    Detail of the listing.
    The detail doesn’t show the category.

    The category field is set up like this in the backend:
    Backend formulier.

    Hope this helps.

    #7949
    baljee
    Member
    #7950

    Hi,

    Thanks for saring these details. Can you confirm which version of BePro Listings and the Form Builder you are using?
    ___
    BePro Software Team

    #7951
    baljee
    Member

    BePro Listings Versie: 2.2.0017
    BePro Listings Form Builder Versie: 1.0.403

    Also using:
    BePro Listings Icons Versie: 1.0.12
    BePro Software Updates Versie: 1.0.02

    #7958

    Hi,

    Thanks for the clarification. Our development team is investigating.

    ___
    BePro Software Team

    #7969

    Hi,

    We tested this and on the following url

    https://beprothemes.com/realestate/listings/sample-real-estate-listing/

    Notice the following fields

    dropdown – g
    testdrop – na

    Dropdown is selected as g. testdrop is left blank and shows “NA”. Are you selecting an option from your selectbox or is it left blank (nothing selected)? “NA” is the default when nothing is selected

    ___
    BePro Software Team

    #7970
    baljee
    Member

    Thanks for your response.

    As shown in my screenshots I am selecting an option. The difference is probably that I created a custom way to select the categories. If it helps I could provide a backend login.

    I am suspecting there is something wrong when you name the field categories.

    #7973

    Hi,

    What happens when you name the field something else?

    ___
    BePro Software Team

    #7975
    baljee
    Member

    The form also contains a pulldown named “acht_prinicpes” where you can only select “Ja”.

    This displays without a hitch.

    I need the option to block multiple categories. See your advice on the start of this thread. Please advice.

    #7982

    Hi,

    Our advice was to use the field name “categories[]”. Are you using that term with the brackets?
    ___
    BePro Software Team

    #7988
    baljee
    Member

    Then it doesn’t work. I have tested it with and without brackets.

    When using the brackets it does’t show in the listing and the category isn’t set.

    I have also tried it with a radio field. With and without the brackets. The same result.

    I need this option to work nicely. Is there an issue with the values? How does the normal category field work. Does that use a different display method?

    Kind regards

Viewing 15 posts - 1 through 15 (of 19 total)
  • You must be logged in to reply to this topic.