is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 12 years ago

Closed 12 years ago

#979 closed bug (fixed)

jForms does not retrieve the form if we use a different selector for the same form

Reported by: laurentj Owned by: laurentj
Priority: high Milestone: Jelix 1.0.11
Component: jelix:forms Version: 1.0.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:


If we do jForms::create('myform') and then jForms::get('mymodule~myform'), get() method don't find the form.

in jForms, forms should be stored with the full selector as a key in the session storage.

We could have also a big issue if there is a "myform" form in two different module. For example, jForms::create('myform') in module A, then jForms::create('myform') un module B. This later create will erase the session data of the myform of module A.

Change History (1)

Note: See TracTickets for help on using tickets.