That's an interesting idea. You could probably do it by adding a line like you mentioned in the previous email, to the section of /includes/SF_FormPrinter.inc where the variable $generated_page_name gets set.


On Mon, Aug 17, 2009 at 7:06 AM, Robert Michel <xologrim@hotmail.com> wrote:
when using the one-step-process to add data with forms the page name is created using a statement like
{{{info|page name=<templatename[field 1]><templatename[field 2]>...<templatename[field n]}}}
Now I want to put the title together based on what data was entered for the different fields, e.g. "if <field 1> is not empty use <field 1> else <field 2>", which could be easily done by parser functions:
{{{info|page name={{#if:<templatename[field 1]>|<templatename[field 1]>|<templatename[field 2]>}}... }}}
currently that seems to be not possible. My idea would be to pass the string to the parser once the placeholders for the values are replaced by the actual inputs.
Does that make sense? Or are there other methods to achieve that?
Where would I have to change the code?
Robert Michel

Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Semediawiki-user mailing list