Form width issue when launching from stateless form in html view
I have a form called Visit. Invoking the form by pressing the built-in Add or Edit buttons results in the Visit form being displayed correctly on screen. However, I have an Add Visit button on a stateless form that is embedded in an html view. When I open the Visit form using the Add Visit button the Form is displayed with a large amount of extra space to the right of the fields. The form is invoked using; openUrl("#Form:Visit?PatientFKID=" + input.PatientFKID + "", "popup window", "height=350,width=550");. Popup window height and width adjustments don't solve this problem. So the result is that the form is much wider than it should be and looks bad. I also have an edit button that calls the same Visit form (using record-edit) from the same stateless form and the Visit form displays correctly form here. Other forms displayed using the same method from stateless forms work fine. Any ideas? Thanks in advance!
John