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

Getting input values from input within Editor

1 Answer 213 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Chad
Top achievements
Rank 1
Chad asked on 17 Jan 2014, 09:19 PM
Hi - quick question,

I want to pre-populate the editor with  inputs of different types (<input> tag such as textboxes, checkboxes, etc.) then have the user fill out these inputs and then when the user saves, i will go and grab the form input values and post them to the server.

this seems fairly straightforward, and the Editor renders all of the inputs on the form perfectly, but when i use jquery to peer into the $("#editor").data("kendoEditor").value(); object, none of the inputs values have been populated with the data entered. now, if i type into the editor window in another location (not in the input), then i can see those changes in the value option just fine. does the Editor accommodate this? or am i just missing something?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 20 Jan 2014, 08:10 AM
Hello Chad,

The values of the input / textarea HTML inputs are dynamic, and are never appended in the HTML. This scenario is not supported by the Kendo UI editor. Why not skip the editor and have a simple <form> instead? From the scenario you describe, I do not see any value added by the editor.

Regards,
Alex Gyoshev
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
Chad
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or