Where is the data of a widget stored in the backend?

Jul 12, 2013 at 12:23 AM
Edited Jul 12, 2013 at 12:28 AM
I created a text widget. I can't seem to find where it is stored. I use SQL with my blog and have opened several tables, I don't see it anywhere. I have a table for my blogroll and my posts, but where will I find widget settings?

The reason I ask is that I'm trying to add a BUTTON element in a text widget HTML. I'm using <input class="search_btn" type="submit" formaction = "<MY URL>">
But the editor keeps removing the formaction code. Formaction is a valid attribute for input http://www.w3schools.com/tags/tag_input.asp but the editor doesn't accept it.
So I figured I could edit the widget settings manually on the backend.
Jul 12, 2013 at 10:06 AM
Edited Jul 12, 2013 at 10:20 AM
Don't use SQL myself, but still might be worth looking in App_Data/datastore/widgets.

Do you need to use the HTML5 formaction attribute, "form action" works (tested this by pasting the w3schools example code into text widget in HTML mode). The editor strips out any attributes or tags it doesn't recognize or considers potentially harmful, but you can configure it to suit your needs.

The file you would be looking to edit is tinyMCE.ascx in the admin folder.

Edit, probably the edit.ascx file in the widgets/TextBox folder.