• Resolved elestia

    (@elestia)


    Hi,
    I found these Plugin and it’s almost perfect. I just need to add some additional fields to the form. I Found these code, and it’s work, but its only for textarea: https://pastebin.com/4fvKErcp. I tried to change ‘type’ => ‘textarea’ for different field types (text_date, text_email etc.) but it didn’t work ??
    I know well HTML and CSS, but not javascript and PHP. I use Beaver Builder.
    I tried out many reviews plugin, but Site Reviews is so far the best for me – it would be perfect if there was a simple way to build the form.

    I need the form to look like this:

    1. Your overall rating —> it already exists by default
    2. Your Name —> it already exists by default
    3. Your Email
    4. Date (date-picker)
    5. Choose type (select with 2 options)
    6. Duration (input type=”text”)
    7. Description 1 (textarea)
    8. Description 2 (textarea)
    9. Description 3 (textarea)

    And I need to wrap them in HTML code, possible rearrange them (fields):

    <div class=”row”>
    <div class=”col-12 col-xl-6″>
    Fields 1-3
    </div>
    <div class=”col-12 col-xl-6″>
    Fields 4-6
    </div>
    </div>
    <div class=”row”>
    <div class=”col-xl-12″>
    Fields 7-9
    </div>
    </div>

    Can you please help me with it?

Viewing 7 replies - 16 through 22 (of 22 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    I still recommend that you use a child theme. It’s never a good idea to modify an existing theme if you didn’t create it as this always causes problems later down the line.

    In fact, it might be simpler to do the child theme as you can create this on your computer following the instructions in the previous link, then:

    1. Create the site-reviews folder inside the child theme as explained in the FAQ
    2. Download and unzip the site reviews plugin
    3. Copy the template files that you want to edit into the site-reviews directory that you created in your child theme
    4. Compress the child theme folder into a zip file
    5. Upload the child theme zip file to your website on the Appearance > Themes page
    6. Activate the child theme
    7. Open the Theme Editor and change the template file in the theme as needed.

    Your other option is to use a FTP client to connect to your server and do it that way.

    Hello!

    I’ve been trying to use the pastebin code to add custom fields and I’ve been successful except with checkbox:
    https://p1.f0.n0.cdn.getcloudapp.com/items/Apuj0WQw/Screenshot%202020-05-24%20at%2019.44.02.png?v=08c5fa961831e884d9cd5ae686e5eb6b

    It only renders 1 option… Any idea?

    Thanks so much for this awesome plugin!

    Plugin Author Gemini Labs

    (@geminilabs)

    @oyshiu It works for me using the example code in the pastebin link:

    If your theme uses javascript to add custom styling to checkboxes, then this could be what is causing the problem.

    @geminilabs Where do I need to go to to change the form field titles, I am looking to use this for members to leave reviews for other members. so I need headings like

    1) Instead of ‘Title of your review’ to ‘To user’ (dropdown with all users)
    2) Instead of ‘Your review’ rename to ‘Your Acknowledgement’
    3) Instead of ‘Your name’ to ‘To user’ (dropdown with all users)
    remove the Your email field

    Hope this makes sense

    Phillip

    Plugin Author Gemini Labs

    (@geminilabs)

    @spiderwebb

    1. Change the form field text on the Translations settings page of the plugin.
    2. Adding custom fields to the form is not supported. However, I provide an example to help get you started here: https://pastebin.com/4fvKErcp
    3. Please in future create a new topic.

    Hi,
    The review form does not show name and email fields. searched a lot but couldnt figure out how to display them

    Plugin Author Gemini Labs

    (@geminilabs)

    @peachtree123 please open a new topic next time. I suggest you check the block or shortcode options that you are using and make sure you are not using the options to hide them.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Additional fields in the Site Reviews form’ is closed to new replies.