Ticket #71 (closed defect: invalid)

Opened 6 years ago

Last modified 6 years ago

jala.form: custom getter/setter and entered-form-value in case of error

Reported by: anton Owned by:
Priority: normal Milestone: Release 1.3
Keywords: Cc:

Description

Hi jala-team!

i have an jala form. i also have some custom getters and setter for the form-field "venue" (because i have an ajax-autocompleter.

when i select a venue with my autocompleter and sumbmit the form with an error (some other mandatory field is missing) the content of the field "venue" is gone.

i cannot get back the data entered before in the field venue with my custom getter, can i?

any help is greatly appreciated. Anton

Change History

Changed 6 years ago by robert

Hi Anton! If the venue-field is set when the form is submitted, it should not vanish when re-rendering the form. Looks like there's a problem with the custom setter, i guess. If not could you post the relevant code pieces?

Changed 6 years ago by anton

Hi!

Sorry for replying so late, had a lot other stuff to do in the meantime. I just found out, that this problem was "by design". It was a problem with my custom getters and setters!

You can close this!

Thanks! Anton

Changed 6 years ago by robert

  • status changed from new to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.