General questions

Why does the Convert function stop displaying the result on the page if the editor is within a form and how to fix this without removing the form?

When I enclose my <nav> and  

<div id="editor" touch-action="none"></div>

 in a form then the Convert function does not display the result on the page. For instance the below works if the <form> attribute is removed:

 

<form role="form" id="handwriting">
				<h3>Handwriting Test</h3>
	
				<div class="col-lg-6 col-md-12 col-sm-12 col-12">
					<nav>
						<div class="button-div">
							<button id="undo" class="nav-btn btn-fab-mini btn-lightBlue" disabled>
								<img src="images/undo.png">
							</button>
							<button id="redo" class="nav-btn btn-fab-mini btn-lightBlue" disabled>
								<img src="images/redo.png">
							</button>
						</div>
						<select id="language"></select>
						
						<div class="spacer"></div>
					    <input type="text" class="input-field" id="importContentField" data-type="text/plain" placeholder="e.g. hello world">
					    <button class="classic-btn" id="importContent">Import</button>
					</nav>
					
					<div id="editor" touch-action="none"></div>
				</div>
			</form>

 


Hi Glyn,


This looks rather than a programming issue than a convert issue.

Please, before posting into our forum, keep in mind that the "General questions" forum is dedicated to questions related to MyScript technology  in general, not to Web programming questions.


We don't have ready to use form examples.

You might though,  take a look at the following example that illustrates how to open a writing container outside the main window: https://myscript.github.io/iinkJS/examples/v4/math-inside-page.html. The corresponding code is available here: https://github.com/MyScript/iinkJS/blob/master/examples/v4/math-inside-page.html



Best regards,


Gwenaëlle

Hi Gwenaëlle,

Thank you for reply; however, the example does not answer my question. 

Which forum should I be posting my questions in please. The use of MyScript in my program would make it more enticing to use in a large number of medical units. This is a win for both myself and MyScript. However, I need support from MyScript to get it working.

Kind regards,

Glyn


  • Support
  • Forums
  • General questions
  • Why does the Convert function stop displaying the result on the page if the editor is within a form and how to fix this without removing the form?