Installing code on your webpage is easy to accomplish with our PageBuilder HTML Module.
How Copying or Pasting Code Can Go Wrong...
The failure or breaking of the code can happen during the “copy” part of the process.
When opening the code from an email attachment or from a website page with an online form-builder, your PC will most likely view it using “Notepad” or some other text viewer installed. If that text viewer has “Word-Wrap” enabled, it will malform your code as soon as it opens and before you get a chance to copy it in proper format. At this point you will now you are copying malformed/broken code and pasting that code into your site or sharing it with others.
Turning off Word-Wrap
As you can see in the demo below, when Word-Wrap is enabled, it allows the code to be shifted down to the next line so the information is easy to read in a smaller window. This is acceptable for text. This is destructive to code. If the window is squeezed and Word-Wrap enabled, you will copy the squeezed code and it will be broken when you go to paste it in your HTML Module.
The failure or breaking of the code can happen during the “paste” part of the process.
When copying code straight from the form generator code builder on a website, that code should be copied in its proper format. Let’s say you have opened “Notepad” or some other text reading program on your computer, and the blank window is opened and ready to receive your pasted code. If “Word-Wrap” is enabled, the moment you paste your code, Notepad will malform your code. Now you unknowingly save and send that file with malformed/broken code to a member of your team.
Here is a demonstration of how you can break your code by pasting it into the text editor with Word-Wrap turned on
We recommend using NotePad++ for your copy/paste of code.
- Download for PC Here
- Instructions for ensuring Word-Wrap is turned off in Notepad++
Open your document in Notepad++
Go to Menu -> View
Select Word wrap and disable