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

form radio buttons #297

Open
pallikiran opened this issue Jun 30, 2014 · 7 comments
Open

form radio buttons #297

pallikiran opened this issue Jun 30, 2014 · 7 comments

Comments

@pallikiran
Copy link

pallikiran commented Jun 30, 2014

Is it possible to show form radio button in .docx file like cehckbox?

Thanks,
Kiran


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@ivanlanin
Copy link
Contributor

The only way we can add radio button to OOXML is by using ActiveX control. I'm not sure this is what we want because it's too specific. What do you think, @Progi1984?

@Progi1984
Copy link
Member

ActiveX is not a solution.

Is there not any radio button or option (like in HTML) for OOXML ?

@ivanlanin
Copy link
Contributor

@Progi1984
Copy link
Member

@PHPOffice/phpword-team What do you think about that ?

@ghost
Copy link

ghost commented Jul 1, 2014

Simple question, @pallikiran: what for?

By the way, guys, according to paragraph 17.16.5.21 of the OOXML spec, there is FORMDROPDOWN field which, I guess, could be used instead of radios. If want radios, there is no luck.

@pallikiran
Copy link
Author

@RomanSyroeshko
I need to create offline form with checkbox, dropdown and radio buttons in docx file.

Right now i am using dropdown for radio buttons. I am asking is there any possibility to show radio buttons.

@ghost
Copy link

ghost commented Jul 2, 2014

Right now i am using dropdown for radio buttons. I am asking is there any possibility to show radio buttons.

As I mentioned earlier, I didn't see any support of radios in OOXML standard (except drop-downs). You may try to do your own research or/and ask someone from Microsoft. Maybe you will have to use ActiveX.

I need to create offline form with checkbox, dropdown and radio buttons in docx file.

By the way, automating MS Word or MS Excel files in that way is a wrong way. You will have to rewrite your solution in case of file format change. That's the overhead which German government has when performed migration from MS Office to Open Office. Details on this history you my find using search engines. So, if you want to easy change file formats, use files for output only, don't automate them by their specific tools.

Good luck.

@github-actions github-actions bot added the Stale label Nov 18, 2022
@Progi1984 Progi1984 removed the Stale label Nov 18, 2022
@PHPOffice PHPOffice deleted a comment from github-actions bot Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants