• Resolved paddelboot

    (@paddelboot)


    Hi there,

    I am passing some GET variables to pre-determine the fund for which a donation will be.

    Therefore, I am trying to pre-select the fund using the Cloak/Reveal system as described here: http://zatzlabs.com/codex/understanding-the-reveal-family-system/

    Unfortunately, it’s unclear how to use the “check” key and what value it should have.

    For example, how do I check the I would like to designate this donation to a specific fund box by default?

    From the docs: “You put the key into the control that does the reveal (a radio button or checkbox).” Which control does the reveal for the above checkbox?

    Thanks in advance,

    Paddelboot

    https://ww.wp.xz.cn/plugins/seamless-donations/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter paddelboot

    (@paddelboot)

    Figured it out by looking into form-engine.php:

    • Adding a [select] => 1 to the _dgx_donate_designated element activated the checkbox.
    • Adding a [value] => 5942 pre-selected the select option with the given value.

    I am just writing this for others who might struggle with the same task.

    Thread Starter paddelboot

    (@paddelboot)

    Closed.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cloak/Reveal’ is closed to new replies.