engineerosama wrote on Monday, March 23, 2015:
Hi
I am using XML form generator to build clinical forms , I can’t find an example to generate radio buttons in the form.
Any examples or documentations will be greatly appreciated.
Thanks,
Osama
engineerosama wrote on Monday, March 23, 2015:
Hi
I am using XML form generator to build clinical forms , I can’t find an example to generate radio buttons in the form.
Any examples or documentations will be greatly appreciated.
Thanks,
Osama
fsgl wrote on Monday, March 23, 2015:
See ROS form from Clinical tab, New Encounter form.
mamassoud wrote on Monday, March 23, 2015:
Hi fsgl,
Actually I had the same problem making a radio button since the XML form generator field types does not have a radio type but CheckBox_List , …
So do I have to modify the generator output to have a radio button ?
Thanks
Mohamed
fsgl wrote on Monday, March 23, 2015:
I don’t have any experience with xmlformgen. I was hoping that some hints might be gleaned from the .php files in the Review of Systems folder.
The way it works in LBV forms is to use Radio Button as the Data Type, then select a List, by clicking in the List column & choosing something like Boolean from the drop down. You can make up a new List for the Radio Buttons if the drop down choices are inadequate. You can test this in the Layout Editor in one of the Demo’s.
Try comparing the files for both ROS & LBF folders.
The Wiki article does mention Date Type & Drop Down List as well.
I would imagine that there are correlations between the 2 types of forms. So if you specify Radio Button as the Data Type & then specify which List, something may take shape.
I don’t think that Check Box is the Data Type that you would want.
blatta wrote on Tuesday, March 24, 2015:
I’ve found xmlformgen to be helpful - but limited. I usually use it to create a form somewhat akin to what I want. Then I examine an example from something closer to what I want (the above-mentioned ROS form, for example) and try to modify the code in my generated form files accordingly. It works, but for a non-programmer like myself there’s a bit of trial and error involved. Eventually one begins to see a pattern, however, and things get easier. I suppose I should mention that I haven’t actually produced radio buttons, but the process has worked for everything else that I’ve done.