Form.GetTableForm();

Feb 2, 2010 at 9:14 PM

What I would love to see is the ability to build the fields within a table.

This would give the ability to have a multi-column form.  You could specify # of columns for each 'Field' to span.

I could also see adding the ability to set custom CSS for a given field.

Also, have all the fields stored in a table structure.

I'm willing to help expand this application if you want help.

Great Job on what you've done so far!!!

-Kevin

Coordinator
Feb 3, 2010 at 2:45 PM

Thanks for the suggestions. I will be giving very serious thought on ways to render fields in tables and other containing html

When you say, "I could also see adding the ability to set custom CSS for a given field," I believe you already have that ability. You can set any attribute on the input elements you like. So to style a particular textbox, I could do this:

 var name = new TextBox
{
// set properties
}; name.InputHtmlAttributes["class"] = "pinkTextBox";

And in my style sheet I could create this rule:

.pinkTextBox
{
    background-color: Pink;        
}

Is that what you were talking about?

Feb 3, 2010 at 2:57 PM

Yes i'm sorry, I didn't realize you implement that already.

This morning I modified the code to make it database driven.  I'm working on cleaning it up right now if you are interested at all.

-Kevin

 

Coordinator
Feb 3, 2010 at 7:40 PM

Sure, send it over.