ok, this one is a little difficult to describe! but I’ll give it a try:
I use a single template-file for several forms. there are 3 forms which get displayed via if-conditionals «if segment_xy == ‘’» â?¦Â so there is for example a template with three forms for Blu-Rays, DVDs and Downloads. All in one template-file. But displayed only if segment_3 == ‘blueray’, ‘dvd’ or ‘downloads’ â?¦Â I do use the forms not only to submit, but also to edit existing entries via exp:safecracker-paramter «entry_id=’{segment_4}’» â?¦
so if I browse to my domain.com/admin/movies/bluray â?¦Â or â?¦/dvd or â?¦/downloads the corresponding Submit-Forms (if segment_3 == ‘bluray’ -> the bluray-safecracker, if dvd -> the dvd-safecracker etc.) appears and if I add Entry-IDs to the end of the URL (-> on segment_4), the edit-functionality works just great â?¦Â for â?¦/bluray/IDXY, â?¦/dvd/IDXY and â?¦/downloads/IDXY â?¦Â just perfect!
BUT if I only display the submit-form (as mentioned above) and do not add the entry-id to use the form as a edit-form â?? just plain simple Submit-Form! â?? then only the first one, the bluray-form, works perfectly. on /dvd and /downloads the input-fields contain the ee-tags for their corresponding content â?¦Â like {dvd-prize} etc. instead of displaying nothing like on /bluray (where everything works perfectly)
If i change the order to first «if segment_3 == ‘dvd’» and after that bluray and downloads, only /dvd works perfectly and /bluray and /downloads failed â?¦Â so on the Submit-Form, only the first one works â?¦
the most strange thing about this is â?? in my opinion â?? that if i add a Entry-ID, all three forms works perfectly as Edit-Fields â?¦Â not only the ‘first’ one
any ideas!?