Dynamically changing width of web form

Folks,
I'm sure someone must have come up with the same problem as me.
We have a forms 6i system running on the intranet (IE5). The forms fill the whole of the browser window if the client PC has a resolution of 800 X 640, but for larger resolutions (like 1024 X 768), the form only occupies part of the browser window. Now, I know that this is dependent on the 'WIDTH=' and 'HEIGHT=' parameters on the formsweb.cfg file. Indeed, if I increase these values, and then run the system on PC's that have resolutions of 1024 X 768, then the forms now look OK. But of course, this now causes a problem where the PC's have lower resolutions! What I want to do, is to dynamically change the WIDTH and HEIGHT parameter values dependent on the users machine settings. I can use javascript to get the users' PC details - no problem. But when I try to code this into the BASEJINI.HTM file, then I cannot run the system at all. I don't think I can use javascript directly in the FORMSWEB.CFG file, as it isn't a 'html' file.
Has anyone else had this problem ? - you must have if you develop forms on the web with different resolutions settings. And how did you guys get around it?
Please help!
Harry
null

thanx for help, Samir! what I want exactly is: vary the width of controls on the screen. for example, if I have two buttons named "assignment" and "help", I want the width of the buttons to be different (and be proportionate to) as per the length of the caption. what kind of JavaScript code shoud I write to achive this? Pls help out... thanks,Girish

Similar Messages

  • Dynamically change width of field

    I have matrix report. One field must dynamically change width...I think create trigger. He'll change width. But I don't  found function (analog set_item_property in oracle forms). This function must get x-coordinate.  And another function  set width field.
    Help me, please. I solve this problem for more than 2 weeks
    I attached a picture. (example).
    Reports Builder 10

    select trunc(tran.DATE)
      ,t.NAME "t_name"
      ,svt.NAME "type_name"
      ,tran.route_num
      ,rts1.Description "point1"
      ,rts2.DESCRIPTION  "point2"
      ,N||'.'||NN CAT
      ,COUNT(N||NN)
      from table1 tran
      ,table2 svt
      ,table3  rts1
      ,table3  rts2
      ,table4 rt
    where tran.t_id=trc.id and
          tran.st_id=svt.st_id and
        tran.zn_in=rts1.stop(+) and
          tran.zn_out=rts2.stop(+) and
         tran.create_date BETWEEN   :pbegin  AND  :pend  and
          (trc.id = :p_id )
    group by trunc(tran.DATE)
             ,t.NAME
             ,svt.NAME
             ,tran.route_num
             ,rts1.DESCRIPTION
             ,rts2.DESCRIPTION
      ,N||'.'||NN

  • Dynamically changing width of controls

    hi,
    how to achieve dynamically changing width of controls on a webpage? For example, the width of a button should be according to the length of its caption... Thanks, Girish

    thanx for help, Samir! what I want exactly is: vary the width of controls on the screen. for example, if I have two buttons named "assignment" and "help", I want the width of the buttons to be different (and be proportionate to) as per the length of the caption. what kind of JavaScript code shoud I write to achive this? Pls help out... thanks,Girish

  • How can I change the default web form names?

    I'm using the web forms in Business Catalyst, but our web site is in Norwegian, so I want the default FirstName and LastName values to be displayed in Norwegian in the error message when the field is not filled out.
    At the moment the user will get an error saying "Skriv inn First Name". "Skriv inn" is correctly translated from English to Norwegian, but the value "First Name" has to be changed. The same applies for "Cell Phone Number".
    Also, I don't really want two fields for the name, I want the form to have just one field that is called "Name" or "Navn" in Norwegian.
    I have tried deleting the name fields and replacing them by custom fields, but then I get an error message when the form is sent saying "ERROR: An error occurred. Your web form must capture customer name and email address. Please fix this issue and re-insert your web form on your web page."
    Also, why does some of the "-" before the error have a space, and some not? I want all the errors to be displayed with a space between the dash and the error.
    The e-mail error is automatically translated into Norwegian for some reason, but it should be a dash in there, so it says "e-postadresse" and not "epostadresse".
    Is there anywhere I can customize these error messages? Or at least change the values of the English fields to Norwegian so the error messages display the Norwegian field names, and not the English?

    That is very helpful! Thank you!
    But how can I change the dashes that are shown before the error? It really annoys me that they are shown inconsistently with different spaces like this:
    - Error 1
    -Error 2
    - Error 3
    -Error 4
    And is there any way to change the automatic translation from English to Norwegian?

  • Adding Controls dynamically in the Infopath/Web form with dynamic controls

    Hello,
    The client requirement is to create SharePoint solution for the below image. A web form/Info-path form will be created where user can enter the details and data will be submitted. I am looking for a solution to implement the requirements in SharePoint .
    if not possible then using customizations and SQL server.
    User can enter the Title , Overview in the form , which we can make Single line and multiple line of Text. The problem is with third , fourth and fifth fields.
    1) In third field , i.e. Qualification Summary , User can add/delete , dynamic text boxes..This can be achieved I think using repeating tables/sections in Infopath...How data will be saved in SharePoint columns as it is not fixed that how many
    columns user can enter , how columns(static) will be created in the list ??
    2) For fourth field , user will select one or many Project description title n descriptions which are there in the system..User will not write anything just select..But how many project descriptions they can select , again its not fixed..How
    we can manage it in SharePoint List OR any custom solution  ?  
    3) For fifth field , user will select one or many Awards which are there in the system.User will not write anything just select..But how many awards they can select , again its not fixed..How we can manage it in SharePoint List OR any custom
    solution  ?  
    Vipul Jain

    >Lets say , the data for user selection is stored in two separate lists
    secondary data connection is only for one list so you can get data from only single list by creating list connection. Later you can drag & drop that connection as repeating table or bind with any control so display in form. If you have mulitiple list
    then you may use lookup column or would need to create two seperate data connection.
    >Do you think its a right approach ?
    multi selection listbox is helpful if requirement is select multiple records or filter records. You can almost achieve most of the requirement but still depends on business need. Ofcource some limitation is also there.
    >I'm planning to propose a custom .net form
    Of course custom form is always better than OOTB in some cases but i always prefer OOTB solution if my requirement is being achieved by it.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How To dynamically change values in custom form

    Hi,
    Requirement is to change values in custom form dynamically that are passed by Global variables through standard form .
    I have used forms personalization to call custom form and passing some parameters to custom form using global variables.
    Now i have to change values displayed in custom form(already opened) when user moves from one record to another record.
    I cannot change the standard form.Only i have write logic in custom form that dynamically changes values as user moves from one record to another in standard form.
    Global variables values will be different for each record.
    Pls let me know how i can achieve this.
    Regards
    Udit

    Udit,
    Your question should be posted to the Enterprise Business Suite (EBS) forum. This forum is dedicated to non-EBS forms development.
    Craig...

  • Track changes in planning web forms

    How to track data changes in planning webform. I want to know what ever the changes made by users in data forms. Like they edit existing data in webform and enter new data in the webform.
    Is there any property available to track these changes. Thanks in Advance.

    Have a look into auditing - http://docs.oracle.com/cd/E17236_01/epm.1112/planning_admin_11122300/rep_aud.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Dynamically Changing Language of web content

    Hi guys,
    here's my situation, i'm building a web application, and the user needs to be able to select the language of choice for displaying content.. as far as implementing this , i'm a bit lost, can anyboby out there point me in the right direction as to materials to read/ examples ..
    would really appreciate this ...
    Thanks...

    Check the various tutorials and look for a chaper on Internationalization (sometimes called I18N) or Localization. The J2EE 5 Tutorial has such a chapter (Chapter 14). I haven't looked at that chapter yet so I'm not sure how much it covers. It will definitely tell you how to handle literals in your jsps and things like that. What I'm not sure it covers is the situation where you are getting content out of a database for display. If this applies to your situation, the database will need to have the content in multiple langages with a column indicating the language. Language dependant columns would be in separate tables than non-language dependant columns and you would do joins with the desired language one of the join conditions.

  • Dynamic Columns in Web forms

    Hi
    Web form is a Account ( Rows) X Period ( Columns) Webform.
    I want to have dynamic columns in the web forms. For example, In the month of March the User should be able to see Jan, Feb and March in the columns. And in the month of may.. Jan, Feb, Mar, Apr, May should be the columns.
    The remaining months are not required .
    Can this be achieved??
    Regards
    Abhishek

    Try something like:
    C1=P#@Cur
    C2=P#@Cur(+1)
    C3=P#@Cur(+2)
    It seems to work.

  • How to change/set the browser title from web forms (XP platform with SP2)

    I am running Form9i, I have set the browser windows title from Web Forms dynamically by using following method. However, when my PC has changed to XP, the function seems not work. Does anybody have same problem and how to solve it? Any suggestions would be appreciated.
    Add the Javascript code to your baseHTML file. For example,
    if you are using the basejini.htm:
    <HEAD><TITLE>%pageTitle%</TITLE>
    <script language="javascript1.2" type="text/javascript1.2">
    function Change(a) {    document.title=a;    } </script>
    </HEAD>
    In web Forms , call the javascript function with WEB.SHOW_DOCUMENT built.
    For Example the following code set the browser title with username . web.show_document('javascript:Change('||'"'|| get_application_property(USERNAME)||'"'||')','_self');
    Best Regards,
    Bowie

    Dear Frank,
    Thanks for your reply. Can you tell me in detail which built-in function in Webutil can set value in browser title ?
    Btw, is it possible for me to set parameter "separateFrame=True" in formsweb.cfg and set the form window title by using SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,v_msg_string)?
    Best Regards,
    Bowie

  • Create a Recovering/Changing Password web form and send email notification

    Hi all
    I am looking for a web page or application that will allow an user to change his/her database password. I am thinking about those web forms where end users enter the current password and the new password, hit submit and the new password gets activated. Then the web form send an email notification
    The database is an Oracle 10G database.
    Is there any template similar to this one http://www.asp.net/learn/security/tutorial-13-vb.aspx for an Oracle database?
    thanks
    J

    Write a stored procedure that uses native dynamic SQL and just pass in the new password.

  • Changing an image ina  form dynamically?

    Hi,
    How to dynamically change the image of an image field? (staticimage or image field)?
    I have tried this: xfa.form.form1.Subform1.StaticImage1.value.image.href = "C:\test.gif";
    but it doesn´t work...
    Thank you

    Thanks a lot for the reply, Rien and Yan.
    However, I discovered that there has been change in behavior between Acrobat 7 and later versions with regards to the handling of HREF property for the Image Field. When I set the value of "href" property of the Image Field at the rime of redering the XDP, it is not working in Acrobat 9. I think the reason for this is security issues. They do not want the client to have a reference to a virtual location on the server. This is what is called probably the web bug or what ever !!!
    But, I found a solution, following is a sample in ASP.NET to attache an image from the server which is decided during the render time from the server:
      StaffOhotoHREF = "<relative path to image file>"
      oImage = System.Drawing.Image.FromFile(Server.MapPath(StaffPhotoHREF))
      ms = New System.IO.MemoryStream
      oImage.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg)
      strXML = strXML &"<ORGStaffPhoto xmlns:xfa=""http://www.xfa.org/schema/xfa-data/1.0/"" xfa:contentType=""image/jpg"" href="""" >"  _
               Convert.ToBase64String(ms.ToArray) + "</ORGStaffPhoto>"
      oImage.Dispose()
    It works like a charm ...
    Tarek.

  • I am creating a web form from a template and I need to change a field. It is just a text field at the moment but I need to change it to a field that the customer can fill in. How do I do this?

    I am creating a web form from a template and I need to change a field. It is just a text field at the moment but I need to change it to a field that the customer can fill in. How do I do this?

    See this thread:
    http://answers.acrobatusers.com/Is-add-instructional-text-text-field-disappear-clicked-q19 5078.aspx

  • Reading Dynamic Table Values in interactive form (web Dynpro ABAP)

    Hi All,
    I have created a Web Dynpro ABAP application which contains an Interactive Form, That Adobe Interactive Form contains Dynamic table (New rows can be added manually and deleted using a button).
    I am not able to read the Dynamic table values in Web Dynpro u201COn Submitu201D.
    In the Adobe form I have web Dynpro native button (I am using ZCI), while clicking the native button I need to read the dynamic table values.
    How can I resolve this problem.
    Thanks and Regards,
    Boopathi M

    that means, when u add the table instance at runtime, you will also have to add an element to the node that is bound to the table.
    probably addNew() mathos may be useful to you.
    it appends a new record to the record set.
    xfa.sourceSet.dataConnectionName.addNew()
    also when on the exit event of the table field, do the following:
    var i = xfa.parent.index
    $record.rootnodename.tablenodename.data<i>.fieldname = $.rawValue
    xfa.host.messageBox($record.rootnodename.tablenodename.data<i>.fieldname)

  • How to change the width of the form

    hi all,
    sometimes i want to change the width of a form ,then dispaly some text_item in it, how to ?
    thanks
    best regards!

    By the way what you would like to know you on forms you can post it here? About my mail id :- [email protected]
    Regards
    SUN

Maybe you are looking for