Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Custom Input form and Search Results page

Quote Reply
Custom Input form and Search Results page
How do I go about creating my own custom input form and search results page? I'd developed a DB in DBMan (flat text version) and I've moved to DBMan SQL to avoid performance issues with the number of records I'll be dealing with.

In the templates, I see this line in add_form.html

<%Dbsql::Relation::HTML::generate_add_form%>

I don't want to used the auto generated forms from DBMan.
Quote Reply
Re: [shalom777] Custom Input form and Search Results page In reply to
Just replace <%Dbsql::Relation::HTML::generate_add_form%> with:

Field 1: <input name="field_1" type="text" size="30" value="<%if field_1%><%field_1%><%endif%>">
Field 2: <input name="field_2" type="text" size="30" value="<%if field_2%><%field_2%><%endif%>">
....

TheStone.

B.