• Resolved Rappi

    (@rappi)


    Hello.

    Is there a way to GET the status of a checkbox to the form? I understand this with text. There I can enter a default:get, but for a checkbox this is ignored.

    Rappi

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter Rappi

    (@rappi)

    Hi,

    this is the tutorial with a text field as an example. I know that this is how it works. But with checkboxes this does not work, because behind “default:” the preselection of the checkbox group can be specified. Therefore a possible GET is ignored.
    Example 1:
    [checkbox Test default:2 “Test1” “Test2” “Test3”]
    activates the checkbox of Test2.
    Example 2:
    [checkbox Test default:get “Test1” “Test2” “Test3”]
    Form call with https://www.seite.com/?Test=2 does not work. No checkboxes are activated.
    I need a solution for this.

    Rappi

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    A checkbox option is an array item, so you need to use the array syntax in the URL: ?Test[]=Test2

    Thread Starter Rappi

    (@rappi)

    Perfect!

    Many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘default:get at checkbox?’ is closed to new replies.