• Resolved mmnovoa

    (@mmnovoa)


    Hi there! How are you?

    Your plugin works very nice on theme is twenty twentyone, but:

    1 When I set Radio with images then when I try to show on wptables the image is ok but export to xls or csv is bad.

    To work and see the imagen on Label I must to insert url img and on Value it looks like nothing happen.

    2 In other way, can you tell me which is the field to embed a youtube video code to display on datatable?

    Can you help me?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @mmnovoa

    I hope you are doing good today.

    When I set Radio with images then when I try to show on wptables the image is ok but export to xls or csv is bad.

    Export XLS and CSV is an option which is available only in wpDataTables integration for Forminator Forms plugin. In this case, you will need to ask TMS-Plugins support here:
    https://www.ads-software.com/support/plugin/wpdatatables-forminator/

    ==========

    To work and see the imagen on Label I must to insert url img and on Value it looks like nothing happen.

    This label field does not support HTML tags. You have build-in image feature for that:
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#radio-field -> Using Images

    ==========

    In other way, can you tell me which is the field to embed a youtube video code to display on datatable?

    You can use HTML field. But not sure if you want to put a video for users (then HTML field) or allow users to share videos(textarea in this case). In the second scenario, this will also depend on wpDataTables integration for Forminator Forms plugin, on how it converts those data later on. I recommend speaking with their support in this matter as well.

    Kind Regards,
    Kris

    Thread Starter mmnovoa

    (@mmnovoa)

    Hi Kris, how are you?

    Thank you for your answer, very clear.

    Last question I have is, how to made a variable for conditional increment. For example, in the form i pick a radio with option A and in every submit that picked option A assign +1 to that option picked.

    Its like a countif condition, to show how many of each option was submited by the user. I tried with calculations but I am a bit lost, can you help me?

    Thank you

    • This reply was modified 2 years, 10 months ago by mmnovoa.
    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @mmnovoa

    Happy New Year.

    Do you mean that option A or option B will represent the number of values/items/products available in the store and at the end (when you have 10 items) 11 person who will see the form will be not able to choose this anymore?

    Kind Regards,
    Kris

    Thread Starter mmnovoa

    (@mmnovoa)

    Hi Kris,

    mm… not really, i explain in other way:

    For each user that submited option A i want to do a count++ on a hidden field, for example:

    Form submited1: A hiddenFieldFromA+1
    Form submited2: B hiddenFieldFromB+1
    Form submited3: A hiddenFieldFromA+1
    Form submited4: A hiddenFieldFromA+1
    Form submited5: B hiddenFieldFromB+1

    In this way when i will show on a wpdatatable i have on variable hiddenFieldFromA = 3 and hiddenFieldFromB = 2

    I explain myself?

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @mmnovoa

    This isn’t possible out of the box with current settings, I pinged our Second Level Support devs though, so they can provide a hotfix in the form of a MU plugin for you. ??

    Please allow us some more time on this and we’ll keep you posted.

    Thank you,
    Dimitris

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @mmnovoa

    Our SLS team created a custom MU plugin for you that you can find here:
    https://gist.github.com/wpmudev-sls/8313ebbc6083451643db0936ae2b314c
    and install it as described here:
    https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins

    How to:
    1. Create a Hidden field and set a Custom Value with the following syntax: @count( [field-slug], [option-slug] )
    2. Save/update the form.

    For example, if we had a Radio field with the following values:

    View post on imgur.com


    To store the count of all submissions of Option-1 from radio-1 on a Hidden field, the Custom Value will be: @count( radio-1, one )

    View post on imgur.com

    Warm regards,
    Dimitris

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error on Radio with Image’ is closed to new replies.