Extension talk:RecordAdmin

From Organic Design wiki
Revision as of 11:06, 27 February 2009 by Phalseid (talk | contribs) (+==Validation==)

Search

The member search form works like a filter, so leaving it completely empty and then clicking search will list all members. Filling in some characters such as 123 into the phone field, then clicking search will list all members having 123 in their phone number somewhere. The fields in the search form are regular expressions, so more advanced searches can be done, for example putting ^445 into the phone field will search for all members whose phone number starts with "445".

In the search results list, click edit to change any properties of the member, or click on a results title to go to that member's article to delete it or see its history etc.

Wikitext content

Some fields - especially (only) textareas need to have their content interpreted as wikitext.

SubForms

The next thing we need is for RecordAdmin to be able to handle sub forms for fields that link to other records. Instead of selecting from existing records, the form for the records linked to is edited directly inline. This requires firstly a parser-function which can render the inline forms along with JS for show/hide and later AJAX, and secondly the ability to process and remove the sub-form values from the posted data.

Validation

need Serverside validation, I think it would be better (more robust) than Client/JS.