Page MenuHomePhabricator

Problem using different {{{standard input|free text|preload=PAGE}}} in the same form
Closed, InvalidPublic

Description

Author: jsalom

Description:
Hi,

When I try to use different {{{standard input|free text|preload=PAGE}}} in the same form, because I want to insert some preloaded pages between templates, I get always the same preloaded page from the last {{{standard input|free text}}} instance. To be more clear, the form is the following:

</noinclude><includeonly>
{{{for template|Proyecto:Caja|label=Información general}}}
<!-- Some code inside here -->
{{{end template}}}

{{{for template|Proyecto:Fechas|label=Fechas}}}
<!-- Some code inside here -->
{{{end template}}}

{{{standard input|free text|default=PAGE 1}}}

{{{for template|Contacto|label=Contactos del cliente|multiple}}}
<!-- Some code inside here -->
{{{end template}}}

{{{for template|Proyecto:Requerimientos del proyecto|label=Requerimientos del proyecto}}}
<!-- Some code inside here -->
{{{end template}}}

{{{standard input|free text|preload=PAGE 2}}}

{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
[[Category:Proyecto especial]]
</includeonly>

And I get the same preloaded PAGE 2 for both {{{standard input|free text}}}.

I hope I made me clear enough :).

Kind regards,
Josep


Version: unspecified
Severity: major
OS: Linux

Details

Reference
bz17890

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:33 PM
bzimport set Reference to bz17890.

I'm not surprised that this is failing - you can't have more than one free text field in a single form.