From: Dan B. <dan...@gm...> - 2009-07-23 09:55:22
|
Hi, I'm sure this request has come up many times before, but I can't find the answer: I have a table with a multi-part primary key. I would like to present the user (me) with a form with the various fields for the columns of the table, and when they click save, the data should be saved in a page with a name like "Field1.Value vs. Field2.Value". Can the name of a form page be based on values entered in the form fields? Or does a form absolutely require a page name first? I'd like to do it this way so that the user (me) has autocompletion on the fields, and doesn't have to worry about getting the spelling of "Field1.Value vs. Field2.Value" correct in the 'forminput' field for creating a form on the given page. Sorry for the lazy question (as I'm sure this has been discussed before), but thanks for any info. Dan. |
From: david <dv...@en...> - 2009-07-23 10:19:07
|
El dj 23 de 07 de 2009 a les 10:55 +0100, en/na Dan Bolser va escriure: > ...the data should be saved in a > page with a name like "Field1.Value vs. Field2.Value". > > Can the name of a form page be based on values entered in the form > fields? Or does a form absolutely require a page name first? You can have the name of the page created by the form be builded automatically from field values. Look at "The one step process" in: http://www.mediawiki.org/wiki/SemanticForms#The_one-step_process |
From: Dan B. <dan...@gm...> - 2009-07-23 10:37:27
|
2009/7/23 david <dv...@en...>: > El dj 23 de 07 de 2009 a les 10:55 +0100, en/na Dan Bolser va escriure: >> ...the data should be saved in a >> page with a name like "Field1.Value vs. Field2.Value". >> >> Can the name of a form page be based on values entered in the form >> fields? Or does a form absolutely require a page name first? > > You can have the name of the page created by the form be builded > automatically from field values. Look at "The one step process" in: > > http://www.mediawiki.org/wiki/SemanticForms#The_one-step_process Thanks very much for this pointer David! I never did read up on the form info tag properly! Dan. |