Skip to content

Multiple Checkboxes with the same name #2692

Open
@Deutrix

Description

@Deutrix

Describe the bug and add attachments

I am having an issue selecting multiple checkboxes across the file with the same name.

For the setValue function, it works on multiple places but setCheckbox is not working.

I need to name chem checkbox1 checkbox2 etc.

Is there some workaround or solution for this?in

Expected behavior

Replace all values based on same name. the

Steps to reproduce

$templateProcessor->setCheckbox('checkboxname', true);
$templateProcessor->setCheckbox('checkboxname', true);

PHPWord version(s) where the bug happened

master

PHP version(s) where the bug happened

8.2

Priority

  • I want to crowdfund the bug fix (with @algora-io) and fund a community developer.
  • I want to pay the bug fix and fund a maintainer for that. (Contact @Progi1984)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions