This is a migrated thread and some comments may be shown as answers.

Form in inline editor is not working

1 Answer 113 Views
Editor
This is a migrated thread and some comments may be shown as answers.
I. Breukink
Top achievements
Rank 1
I. Breukink asked on 24 Jul 2014, 09:32 AM
I have an application with a form in which i have a inline-editor where i can create a html -page. The problem is that i can't put a <form> code in this editor-html, because this is overruled by the parent form. I use the top-form to submit all the information to the server.

I have a sample here : http://jsbin.com/yutugipi/1/edit

In this sample i can't place (in the html-editor) the html-string : <form></form>
If i remove in the source code the <form> definition (so the editor is no longer part of a form), it works fine.

I hope you can solve this problem

Regards,
Ivor

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 28 Jul 2014, 07:34 AM
Hello Ivor,

As you mentioned, placing a form tag inside another form tag is invalid HTML. If you would like to post the editor's value with the parent form, then you will need to copy it inside of a successful control (input, textarea and etc) because DIV elements cannot post their value. Another option is to use a regular editor created from textarea.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Editor
Asked by
I. Breukink
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or