4 Replies Latest reply: Jul 8, 2013 5:36 AM by Rambo79 RSS

    Multi Language Forms - Show and Hide

    Rambo79
      Hi

      Within a form in apex has anybody used ajax/css to display fields based on a language selection?

      For example be default it will just display English fields but if a user clicks on a Spanish button then both the English and Spanish fields are shown?

      Not sure if this is feasible in such as dev platform such as apex?
        • 1. Re: Multi Language Forms - Show and Hide
          Denes Kubicek
          Showing and hiding fields in a form is possible using dynamic actions. It is actually quite easy. It can take any condition you like.

          Denes Kubicek
          -------------------------------------------------------------------
          http://deneskubicek.blogspot.com/
          http://www.apress.com/9781430235125
          http://apex.oracle.com/pls/apex/f?p=31517:1
          http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
          -------------------------------------------------------------------
          • 2. Re: Multi Language Forms - Show and Hide
            Rambo79
            Ok thanks do you have any code examples as a starting point for me please
            • 3. Re: Multi Language Forms - Show and Hide
              Denes Kubicek
              Creating a dynamic action based on a condition is quite simple. Have you tried to do that?

              Denes Kubicek
              -------------------------------------------------------------------
              http://deneskubicek.blogspot.com/
              http://www.apress.com/9781430235125
              http://apex.oracle.com/pls/apex/f?p=31517:1
              http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
              -------------------------------------------------------------------
              • 4. Re: Multi Language Forms - Show and Hide
                Rambo79

                Yes I have selected from the conditions menu 'Value of Item / Column in Expression 1 = Expression 2

                 

                But am unsure what needs to be entered in the expression 1 and expression 2 fields.  The reason being is at the top of the form I have a radio button with two options under the label 'Bilingual' with 2 options Yes and No

                 

                If they select Yes then it will show the fields in both languages English and French  (will I have to set the condition on each item on the page for the 2nd language) or if they select No it just shows the English fields.