Form in inline editor is not working

2 posts, 0 answers
  1. I. Breukink
    I. Breukink avatar
    24 posts
    Member since:
    Dec 2008

    Posted 24 Jul 2014 Link to this post

    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
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 28 Jul 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top