Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkbox element : wrong values in result page with plugin "redirect" and "Append jump url with data" #2082

Open
agilare opened this issue Jan 22, 2019 · 0 comments

Comments

@agilare
Copy link

agilare commented Jan 22, 2019

Hello,

As decribed in this topic of Fabrik forum "Form does not append correct checkbox data" in September 2015, I experiment today the same problem.

I've created a simple "test" form on a website with PHP 7.2, Joomla 3.9.2 and Fabrik 3.9 and plugin redirect on a Page : index.php?option=com_content&view=article&id=2&Itemid=134
The form contains just a checkbox element (called "test___choice") with 3 values (1 => one, 2 => two, etc.) and params_append_jump_url-0 : yes. In target page, I get weird results, if :

  • only 1st checkbox is checked :
Array
(
    [option] => com_content
    [view] => article
    [id] => 2
    [Itemid] => 134
    [test___date_time] => 2019-01-22 14:14:26
    [test___id] => 16
    **[test___choice] => 1**
)
  • only 2nd checkbox is checked :
Array
(
    [option] => com_content
    [view] => article
    [id] => 2
    [Itemid] => 134
    [test___date_time] => 2019-01-22 14:18:05
    [test___id] => 17
    [test___choice] => 
)
  • 1st and 2nd are checked :
Array
(
    [option] => com_content
    [view] => article
    [id] => 2
    [Itemid] => 134
    [test___date_time] => 2019-01-22 14:19:03
    [test___id] => 18
    [test___choice] => Array
        (
            [value] => Array
                (
                    [0] => 1
                    [1] => 2
                )

        )

)

It makes checkbox element impossible to use with a redirect result-page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant