Preview View only rendering HTML view not the form

  • 21 April 2020
  • 8 replies
  • 2 views

Badge +3

I recently was editing a form in Nintex Forms Designer and when I went to preview my changes it only brought back the HTML code not the view of the form.

 

7469i6E4ADFB169A61D98.png

I tried opening the preview in different browsers but I still got the same result.  Other forms I have created do not do this.

Does any one know what I might of done to cause this and how I could fix it.

 

When I publish the form I can open it with no issues on the SharePoint site.

 

Thanks

 


8 replies

Userlevel 6
Badge +22
Hi,

Can't say I have ever seen this before.
My guess is that there is something in the form that is messing up the code during preview.
Could be a calculated value or rule or something in one of the controls.
I would need an export of the form to be more precise.
Badge +3

I am trying to send the export but I get an error that the contents of the attachment does not match its file type.

When I click export the form I get the the file in the following XML format.

 

7471iB57D9F15E67A274C.png

 

 

 

I am I doing something wrong?

 

 

Userlevel 6
Badge +22
Hi,

Zip the xml and attach to a reply post.
Badge +3

Thanks for the suggestion.  Please see attachment.

Userlevel 6
Badge +22
I imported your form and clicked preview and the form rendered as expected.
It looks like the error you are receiving is coming from the browser.
The browser may not like popups. If you publish the form and then click new from the list does the form work?
Badge +3

Yes, it works fine.

I have tried opening it in Chrome, Edge and IE and I got the same HTML view.  All my other forms are okay.  Do you think may be if I import the file I sent you it might reset it?

I was thinking of just starting the form all over.

Thanks for all your help.

Userlevel 6
Badge +22
You could try importing into a new list and testing.
Badge +3
Hi Simon, I imported the the form to a new list and the preview worked fine. Go figure.
I then took that form and and imported to the list that would render only the HTML and published it.

It is now working fine.

Thanks


Reply