Hi,
I have added about 25 extra columns to my links table. When I want to add a link, I only need to fill out 1/3 of all the fields based on what I am adding to the database.
I have tried to replace the <%Form%> tag in the browser_link_add_form.html, but I really don't understand how this works. The main thing I want to do is reorganize the display of the fields so that an editor can add things quicker. Since fields in the <%form%> are ordered by ID, jumping through what needs to be filled out and what doesn't gets confusing.
I use a field called 'detailed_template'. It is a 'Enum' with 4 possible choices.
1)I want my editors to create a record with only a 'Title' and a 'Detailed_template', that will be saved but not yet validated.
2)For them to validate their new record, they will have to fill in the rest of the fields. These fields will appear based on the first 'Detailed_template' Enum choice like this:
<%if 'Detailed_template' eq'Links'%>
Fields for Links
<%elseif 'Detailed_template' eq'Images'%>
Fields for Images
etc.
<%endif%>
My problem is that the <%Detailed_template%> tag is not parsed or recognized. I do not have the perl knowledge to go and modify the browser.pm file, but I still need to find a way to not show fields that do not correspond to other 'Detailed_template' selections.
Any Ideas?
Thank you.
I have added about 25 extra columns to my links table. When I want to add a link, I only need to fill out 1/3 of all the fields based on what I am adding to the database.
I have tried to replace the <%Form%> tag in the browser_link_add_form.html, but I really don't understand how this works. The main thing I want to do is reorganize the display of the fields so that an editor can add things quicker. Since fields in the <%form%> are ordered by ID, jumping through what needs to be filled out and what doesn't gets confusing.
I use a field called 'detailed_template'. It is a 'Enum' with 4 possible choices.
1)I want my editors to create a record with only a 'Title' and a 'Detailed_template', that will be saved but not yet validated.
2)For them to validate their new record, they will have to fill in the rest of the fields. These fields will appear based on the first 'Detailed_template' Enum choice like this:
<%if 'Detailed_template' eq'Links'%>
Fields for Links
<%elseif 'Detailed_template' eq'Images'%>
Fields for Images
etc.
<%endif%>
My problem is that the <%Detailed_template%> tag is not parsed or recognized. I do not have the perl knowledge to go and modify the browser.pm file, but I still need to find a way to not show fields that do not correspond to other 'Detailed_template' selections.
Any Ideas?
Thank you.