Skip to Content
author's profile photo Former Member
Former Member

Change attributes of <htmlb: form> in OnInputProcessing

I would like to change the value of <htmlb:form target='_blank'> in the OnInputProcessing.

How can I do it? I've found the CL_HTMLB_FORM but I didn't find any methods or attributes which I could use for this purpose.

Can anyone help me? It's urgent!

Thank You!

Kind Regards: Pal Halasz

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 22, 2004 at 09:01 AM

    Why don't use a variable f.e.

    <htmlb:form target='<%= my_target %>'>

    and set it on default during OnLoad

    and change it in OnInputPr...

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      You got an other solution with javacript if you want, with this you don't make any access to the server to change it.

      <script>

      function changeTarget(new_target)

      {

      document.form.target=new_target;

      }

      </script>

      Regards,

      Bertrand

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.