SSL and form verification scripts

We're building an ecommerce site with SSL protected checkout
and account administration. We've just installed the SSl
certificate and set-up the 2 sections as secure. However, in MS
Explorer we get the "This page contains both secure and non-secure
items" error message.
We've isolated this down the the includes for the 2
ColdFusion scripts used in form verification "/cfide/cfform.js" and
"/cfide/masks.js" short of writing or adapting form verification
scripts is there anyway I can force the pathnames to be
"https://xxx.xxx.xxx/cfide/cfform.js"
I cannot edit the setting in the CF admin pages as the server
runs multiple sites. I don't want the URl for the eCommerce site
being seen in some of the other sites.
R

I don't know if it will be a consideration for you, but CF
only supports SSLv2 which is considered weak and vulnerable.
The desired protocols are the (SSL 3.0) protocol and
Transport Layer Security (TLS 1.0) protocol.
SSLv2 is a server only authentication and the others are
client & server.
You might want to check out this article on IE7 and SSLv2.
http://blogs.msdn.com/ie/archive/2005/10/22/483795.aspx
I started another thread asking when Adobe would upgrade CF
to work with SSLv3 and if anyone knows of a 3rd party solution
available now.
It seems hard to imagine but Adobe is already a few years
behind the curve on this. They did not include support for the new
technologies in the latest version and the old SSLv2 is being
deprecated leaving nowhere to turn for secure
communications.

Similar Messages

  • What is the diff b\w open form and start form in scripts.

    Hi,
         can any one tell me what is the diff andb\w open form and start form in scripts.when we should use open form and when start form.

    Hi Friend.
    I have understood some usefull information and would like to share with you.
    Within one transaction, you can open and close several layout sets using OPEN_FORM and
    CLOSE_FORM, however not simultaneously. You can use parameters in the OPEN_FORM to control
    whether the output is stored in the same print request. But also the SAP spool decides,
    depending on several plausibility checks, whether new output is appended to an existing
    print request or whether to create a new print request anyway.
    CALL FUNCTION 'OPEN_FORM'
    CALL FUNCTION 'CLOSE_FORM'
    CALL FUNCTION 'OPEN_FORM'
    CALL FUNCTION 'CLOSE_FORM'
    You cannot combine ABAP/4 list output and SAPscript output in one print request.
    START A LAYOUT SET AGAIN
    Usually a print program does not print only one urging letter or one account statement, but
    several layout sets for different customers. To have the output for each customer begin with
    the start page of the layout set, you must start the current layout set again and again.
    To start a layout set again, you must first end the current layout set and then open the
    layout set again. Within one print request, first call the function module END_FORM. It
    executes the final processing for the current layout set. Then start the layout set again
    using START_FORM. Output then begins again on the start page of the desired layout set.
    CALL FUNCTION 'OPEN_FORM'
    CALL FUNCTION 'START_FORM'
    CALL FUNCTION 'END_FORM'
    CALL FUNCTION 'START_FORM'
    CALL FUNCTION 'END_FORM'
    CALL FUNCTION CLOSE_FORM
    Hope your obstacle is cleared.
    If not do ask me again?

  • How to restrict Order types KA  and AB in script output form

    How to restrict KA AND AB order types in script output data is coming from  bkpf-blart .
    program is rfkord10.
    and form is f140_acc_stat_1
    in script output i dont want to  display KA AND AB order types ..
    data is coming from standard report.
    i copied form into zform.
    in output it is displaing all order types ..
    is there any solution to restrict above order types.

    Hi
    Check the data structures used in the script
    Since it is account statement of customer it uses the Tables BSID and BSAD in which the field BLART field is there whose values are KA and AB
    check for the structures which are used in the script and in them search for the field BLART in Se11 and accordingly keep the condition
    It will work
    Regards
    Anji

  • Regarding scripting in adobe HCM process and forms

    Hi Gurus,
    I am working on adobe HCM process and forms. Configuration has been done for HCM process and forms and I am getting the scenario stage level in the forms based on which I will give the visibilty to differenct levels of approvals in the form.Scripting has been done for that.
    When form is initially loaded, I am making invisible some of the fields. On choosing the drop down the value that I make invisible is visible again. I found that Scenario stage that I bound to the form attribute is getting cleared off, when drop down event is called. Drop down event calls the generic services to fill the drop down values. Drop down used is from ISR Controls from the library.
    The scripting that I used in the drop down event is as belows
    if (xfa.form.data.Page1.FORM_SCN.rawValue == "INIMGR_LVL1")
      xfa.form.data.Page1.DE.DEContent.HR_VIEW.presence = "invisible";
    xfa.form.data.Page1.FORM_SCN.rawValue  this is getting cleared off. Form SCN is the field in the form where in which I bound the attribute scenario stage.
    Pls help me on this.
    Regards,
    Krishnan  Paramasivan

    Solomon,
    Thanks for the earliest response. can you explain me in detail. Where to check/select the form scenario stage field to be passed over. In scripting the coding written as below:
    xfa.record.CONTROL_PARAM.ISR_EVENT.value = "DD_GET_POSITION";
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    DD_GET_POSITION is the event created in generic services and used in the user events in the form scenario stage in HRASR_DT.
    Any further guidance on this ?
    Thanks in advance.
    Regards,
    Krishnan

  • New script fixes ExternalInterface() and FORMs

    After many hours of frustration with this ExternalInterface()
    in a FORM tag in IE problem, I have written a script that fixes
    this issue before the SWF loads and therefore generates zero
    javascript errors and allows the ExternalInterface() to function
    properly.
    The script is called SWFFormFix.js and is available from my
    blog here:
    Steve
    Kamerman's Blog - SWFFormFix
    I made a few pages with some examples of the problems that
    people run into with ExternalInterface() and forms on IE, and a
    demonstration of SWFFormFix in action:
    http://devel.teratechnologies.net/swfformfix/test4.php
    If you have any problems, let me know!

    From Primary
    ========
    BackupDiskFile::OpenMedia: Backup device 'J:\Backup\forms\forms_backup_2015_03_16_154013_0667087.bak' failed to open. Operating system error 2(The system cannot find the file specified.).
    The Oracle guys feel you need to write a script and it cannot ne performed from SSMS.... has anyone completed this process. If so, please let me know what I am missing.
    Hi Charlie,
    Firstly, you can use SSMS maintenance plans to perform availability database backup on replicas. However, please note that there are some known issues with using the maintenance plans on Availability Groups as the ones defined in this blog:
    Maintenance Plan Does not Backup Database or Log of Database Defined in Availability Group.
    Secondly, regarding to above error message, besides other post, please also check that
     if you have the correct path for the backup files. You can run the following command to make sure you can see the file in the operating system:
    Xp_cmdshell 'dir J:\Backup\forms\forms_backup_2015_03_16_154013_0667087.bak'
    Thirdly, to implement effective backups on Availability Group, you can also customize you own stored procedure to backup the database and create SQL Server agent jobs on each replica. For more details, please review this blog: 
    Backing Up SQL Server Databases Participating In AlwaysOn Availability Groups.
    There are also some articles about configuring backup on Availability Replicas for your reference.
    Configure Backup on Availability Replicas (SQL Server)
    Active Secondaries: Backup on Secondary Replicas (AlwaysOn Availability Groups)
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Calculation of values in a dunning form (SAP Script)

    Hi Experts!
    I want to add values to a sum (dunning-amount + dunning-fee + interest) in a dunning form (SAP Script; Z150_DUNN_02).Therefore I'm using a subroutine (Z_FI_KX_DUNN_02_INTEREST) to summarize. Problem is the format of the output-field &Z_FAEBT&. It's not similar to field &MHNK-FAEBT& which was formerly printed (without calculation of interest and dunning-fees.
    /:   DEFINE &Z_FAEHW& := &MHNK-FAEHW&                 
    /:   DEFINE &Z_ZINHW& := &MHNK-ZINHW&                 
    /:   DEFINE &Z_MHNGH& := &MHNK-MHNGH&                 
    /:   DEFINE &Z_FAEBT& := &MHNK-FAEBT&                 
    /:   PERFORM ZFAEBT IN PROGRAM Z_FI_KX_DUNN_02_INTEREST
    /:   USING &Z_FAEHW&                                  
    /:   USING &Z_ZINHW&                                  
    /:   USING &Z_MHNGH&                                  
    /:   CHANGING &Z_FAEBT&                               
    /:   ENDPERFORM                                       
    /:   ENDIF                                            
    A3   &MHNK-WAERS& &Z_FAEBT(C)&       
    It would be fine to get a hint how to format the field &Z_FAEBT& correctly. Must be done in the subroutine Z_FI_KX_DUNN_02_INTEREST by a special WRITE-command? Is it possible to add these values only in the form?
    Thanks for support!
    Regards, Bernd

    hi!
    I defined the field like you said! After moving this field to a numeric field to add the different amounts the
    following error occurred:
    Runtime errors         CONVT_NO_NUMBER           
    Exception              CX_SY_CONVERSION_NO_NUMBER
    Occurred on     16.06.2009 at   15:15:25  
    Unable to interpret " 1.316,59" as a number.     
    Definition:
    FORM zfaebt TABLES in_par STRUCTURE itcsy
                       out_par STRUCTURE itcsy.
      TABLES: mhnk.
      DATA: z_faehw_num LIKE mhnk-faehw,
            z_zinhw_num LIKE mhnk-zinhw,
            z_mhngh_num LIKE mhnk-mhngh,
            z_faebt_num LIKE mhnk-faebt.
      DATA: z_faehw TYPE string,
            z_zinhw TYPE string,
            z_mhngh TYPE string,
            z_faebt TYPE string.
    statement:
      READ TABLE in_par WITH KEY 'Z_FAEHW'.
      CHECK sy-subrc = 0.
      z_faehw = in_par-value.
      z_faehw_num = z_faehw.
    I suppose a type-conflict.
    Regard, Bernd

  • Re: DW8 and "browser-safe" scripts

    > the <object> tag doesn't usually cause a problem,
    I don't think, unless
    > that's what's making IE produce a "click to run
    > ActiveX" messagebox when a page with a Shockwave movie
    is loaded.
    It is.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Fred Riley" <[email protected]> wrote in
    message
    news:[email protected]...
    >>>> Murray
    *ACE*<[email protected]> 28/06/2006 12:07:27
    >>>
    > "Browser-safe", eh? ;-)
    >
    > Definitely. Are you talking shockwave or Flash? The
    former is for
    > Director
    > files, the latter is for errr Flash files.
    >
    > F: Shockwave.
    >
    > Anyhow, your two errors are -
    >
    > Line 2, syntax error.
    > Line 159, object expected.
    >
    > Fix the first by removing this line -
    >
    > <?xml version="1.0" encoding="iso-8859-1"?>
    >
    > F: Aaarrrgggh! Not that blasted line *again*. It's not
    me that puts it in
    > the page, honest, guv, it was blasted Dreamweaver MX
    2004.
    >
    > It's not needed, and furthermore, it hurts you by
    putting IE into quirks
    > mode. I'm not quite sure why it's throwing this js error
    though. <shrug>
    >
    > The second error is caused by your failure to upload the
    Scripts folder,
    > which contains the function called on line 159 -
    >
    > <script type="text/javascript">
    > AC_SW_RunContent( '
    >
    > F: Hmmm. I'd not noticed that folder appearing in my
    site. Ah well, it
    > rules out me using the 'browser-safe' scripts then, as
    I'd have to create
    > and upload a /Scripts folder for every learning object
    on my site, and
    > that's lots of them. They can't all use the same
    /Scripts as they're
    > supposed to be standalone and survive if packaged and
    moved outside the
    > site. No matter, the <object> tag doesn't usually
    cause a problem, I don't
    > think, unless that's what's making IE produce a "click
    to run ActiveX"
    > messagebox when a page with a Shockwave movie is loaded.
    >
    > Do those things and you'll see a difference.
    >
    > F: No, you're not wrong there, Murray. Maybe the script
    is "browser-safe"
    > after all. I still think I'll use the <object>
    tag, though, but look
    > closely at the W3C spec to make sure that I stay within
    standards. I'm
    > always a bit nervous about doing in Javascript what
    should be done in
    > HTML.
    >
    > Thanks anyhoo for the reply, which wasn't expected.
    >
    > Cheers
    >
    > Fred

    > the <object> tag doesn't usually cause a problem,
    I don't think, unless
    > that's what's making IE produce a "click to run
    > ActiveX" messagebox when a page with a Shockwave movie
    is loaded.
    It is.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Fred Riley" <[email protected]> wrote in
    message
    news:[email protected]...
    >>>> Murray
    *ACE*<[email protected]> 28/06/2006 12:07:27
    >>>
    > "Browser-safe", eh? ;-)
    >
    > Definitely. Are you talking shockwave or Flash? The
    former is for
    > Director
    > files, the latter is for errr Flash files.
    >
    > F: Shockwave.
    >
    > Anyhow, your two errors are -
    >
    > Line 2, syntax error.
    > Line 159, object expected.
    >
    > Fix the first by removing this line -
    >
    > <?xml version="1.0" encoding="iso-8859-1"?>
    >
    > F: Aaarrrgggh! Not that blasted line *again*. It's not
    me that puts it in
    > the page, honest, guv, it was blasted Dreamweaver MX
    2004.
    >
    > It's not needed, and furthermore, it hurts you by
    putting IE into quirks
    > mode. I'm not quite sure why it's throwing this js error
    though. <shrug>
    >
    > The second error is caused by your failure to upload the
    Scripts folder,
    > which contains the function called on line 159 -
    >
    > <script type="text/javascript">
    > AC_SW_RunContent( '
    >
    > F: Hmmm. I'd not noticed that folder appearing in my
    site. Ah well, it
    > rules out me using the 'browser-safe' scripts then, as
    I'd have to create
    > and upload a /Scripts folder for every learning object
    on my site, and
    > that's lots of them. They can't all use the same
    /Scripts as they're
    > supposed to be standalone and survive if packaged and
    moved outside the
    > site. No matter, the <object> tag doesn't usually
    cause a problem, I don't
    > think, unless that's what's making IE produce a "click
    to run ActiveX"
    > messagebox when a page with a Shockwave movie is loaded.
    >
    > Do those things and you'll see a difference.
    >
    > F: No, you're not wrong there, Murray. Maybe the script
    is "browser-safe"
    > after all. I still think I'll use the <object>
    tag, though, but look
    > closely at the W3C spec to make sure that I stay within
    standards. I'm
    > always a bit nervous about doing in Javascript what
    should be done in
    > HTML.
    >
    > Thanks anyhoo for the reply, which wasn't expected.
    >
    > Cheers
    >
    > Fred

  • Decimal for a weight field and form calc on a table - header text

    Hi Guys,
    Need your help on 4 issues I am facing.
    1) I am using a Quantity field and till interface the value is 100.000 but in adobeform print its showing 100. How to get decimals printed.
    2) in item details there is a another quantity field and in old script its printed as &VBPLP-VEMNG&(7.0) but the field length is 12 and 3 decimals. If I am directly making limit leading digits to 7 then in output the values is printed as 0.
    3) In item details printing there is a last field weight which is also decimal field. user wants to print this field value text(Weight) only when a text field value has "X". I got it perfectly getting printed if value is "X" and is not getting printed when its space. but the issue is the text weight is not getting printed only at first page and for subsequent pages the weight is getting printed. In what event I have to write the code for this scenario and currently I had written code in initialize.
    Item Layout :
    If a value of interface field is "X" the output should be
    ID  | Material no | PO no  | SO no | Qty  | unit | Weight  |
    If the value of interface field is " " the output should be
    ID  | Material no | PO no  | SO no | Qty  | unit |
    4) After completion of item details there is a requirement to print 2 standard texts. If 1st standard text has no value then it should print space and the next standard text text and value should move up and display. currently i had kept  text1,std text value1,text2,std text value2 in flowed subform only.
    Awaiting for corrections......

    Hi Guys,
    The issue got solved. I am sharing the solution so that it may be useful for others.
    1) solved by using pattern - num{$z,zzz9.999}
    2) not necessary
    3) In Pagination tab of header - you need to check the check box - keep previous , keep next.
    4) have to make the text box to fit a single line and check box multiple lines and keep each standard text in a flowed sub form. Now if 1 st standard text is blank then second standard text will come up.
    Thanks
    Abilash

  • How to assign modified forms (SAP scripts etc.,) to Dunning texts

    Hello, how do I assign forms (SAP scripts etc.,) to dunning texts according to no 5 above?
    I've copied the form f150_dunn_01 and modified it. Now I want to assign my modified form to dunning text. In txn fbmp I have created new procedure and when I clicked on Dunning texts it takes me to dunning text screen where I should be able to assign my modified form. But the screen is greyed out and not editable. Is there anything I'm missing or I've permission issue?
    Please help
    Regards
    Naz
    Most of the config for Dunning is done with TCode FBMP.
    Key Steps are :-
    1.     Define the dunning procedure or use the standard
    2.     Define the dunning levels (desired stages of reminder)
    3.     Define the dunning interval (frequency of reminder)
    4.     Line item grace periods & Min.days in arrears (acct) govern the criteria for picking items to be dunned along with Minimum amounts
    5.     Assign forms (SAP scritps etc.,) to dunning texts. Forms contain the contents of the reminder notice and the format of notice.
    6.     You can include the Sp GL Transactions as well.
    7.     Customer/Vendor Master Records needs to be updated with the Dunning
    8.     Procedure etc, Dunning tab in the master data
    9.     Use F150 to run.

    Hi Praveen,
    Ok let me go through the steps that I have done so for.
    1. New dunning procedure 004 been created in Txn FBMP
    2. Then by choosing the assigned dunning procedure 004, trying to update the form by selecting the company code and then Dunning text. But the screen is grayed out.
    Please pass me your email address then I will send you the screen shoots.
    Thanks
    Naz

  • How to use perform and endperform in scripts

    Can anybody cleaerly explains me how to use perform and endperform in scripts with an example to add something extra dynamically to the standard script (like rvorder01).
    thanks in advance.
    regards
    anil.

    Check this example:
    In form
    PERFORM READ_TEXTS IN PROGRAM 'Z08M1_FORM_EKFORM1'
    USING &EKKO-EKORG&
    USING &EKPO-WERKS&
    USING &EKKO-EKGRP&
    USING &EKKO-BSTYP&
    CHANGING &COMPNAME&
    CHANGING &SENDADR&
    CHANGING &INVCADR&
    CHANGING &COMPADR&
    CHANGING &COVERLTR&
    CHANGING &SHIPADR&
    CHANGING &REMINDER&
    CHANGING &REJECTION&
    CHANGING &POSTADR&
    CHANGING &LOGO&
    ENDPERFORM
    In program
    FORM READ_TEXTS TABLES IN_PAR   STRUCTURE ITCSY
                           OUT_PAR  STRUCTURE ITCSY.
      DATA : L_EKORG TYPE EKORG,
             L_WERKS TYPE WERKS_D,
             L_BSTYP TYPE BSTYP,
             L_EKGRP TYPE BKGRP.
      READ TABLE IN_PAR WITH KEY 'EKKO-EKORG' .
      CHECK SY-SUBRC = 0.
      L_EKORG = IN_PAR-VALUE.
      READ TABLE IN_PAR WITH KEY 'EKPO-WERKS' .
      CHECK SY-SUBRC = 0.
      L_WERKS = IN_PAR-VALUE.
      READ TABLE IN_PAR WITH KEY 'EKKO-EKGRP' .
      CHECK SY-SUBRC = 0.
      L_EKGRP = IN_PAR-VALUE.
      READ TABLE IN_PAR WITH KEY 'EKKO-BSTYP' .
      CHECK SY-SUBRC = 0.
      L_BSTYP = IN_PAR-VALUE.
      CLEAR Z08M1_ORG_TEXTS.
      SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
                                              AND WERKS = L_WERKS
                                              AND EKGRP = L_EKGRP
                                              AND BSTYP = L_BSTYP.
      IF SY-SUBRC NE 0.
        SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
                                               AND WERKS = L_WERKS
                                               AND EKGRP = L_EKGRP
                                               AND BSTYP = SPACE.
      ENDIF.
      READ TABLE OUT_PAR WITH KEY 'COMPNAME'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COMP.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'SENDADR'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_ADRS.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'INVCADR'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_INVC.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'COMPADR'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_CPAD.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'COVERLTR'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COVR.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'SHIPADR'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_SHIP.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'REMINDER'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RMDR.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'REJECTION'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RJCT.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'POSTADR'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_POST.
      MODIFY OUT_PAR INDEX SY-TABIX.
      READ TABLE OUT_PAR WITH KEY 'LOGO'.
      OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_LOGO.
      MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Check and let me know if u face any problem.
    Regards

  • How to use the 'Username' filed's value in form level scripting?

    Hi,
        I have applied the Rights Management for a form. I wanted to use the 'Username' field's value, which is present in below image for the form side scripting. How can we get this value? Any script is there to extract this value in the form?
    Thanks in advance,
    Arjun

    Hi Jo,
    Thanks for the reply. The settings (MobileEngine.Security.SyncPasswordFieldAtLogon=true) in my Mobile client is such that when i open it i am asked the User, Logon Password and the Synchronization password(which is not mandatory). So if I dont even enter it during logon i am asked to enter it when i hit the sync button on the client.
    But if i have entered it during logon and then hit the sync button on the client, that time i am not asked to re-enter my sync passwd and the client syncs with the b/e. Which means that the sync passwd i had entered during logon is definitely stored somewhere.
    What i mean by using the sync passwd in applications is this :-
    -> In a generic sync appln before synchronising with the b/e we need to give the sync passwd to the SyncManager. How do we get this sync password from the user of the appln?
    -> We can either ask him to enter it as in input to a jsp OR else since he has already entered it during logon we need not ask him to enter it again and retrieve it via some API.
    Is this possible.
    Thanks & Regards,
    Saurabh.
    Message was edited by:
            Saurabh Agarwal

  • Difference in printing and preview of scripted object

    Hi guys,
    I designed a form (printform) where I implemented a "watermark" text which is displayed dependent on SID. It's just showing on our dev- and test-systems. This text (text-field) is rotated by 60° using javascript.
    This works well in preview mode but doesn't rotate while printing directly. The script itself actually is OK, because other things in the same script are processed OK and the same script works fine on my other forms.
    Did anyone face similar behaviour yet or have an idea where to look for a solution?
    I already tried different combinations like script on client, server or both. There is even no difference using javascript or formcalc.
    regards

    I finally managed to solve this by myself.
    It was just again, one these strange lifecycle designer behaviours.
    I deleted the textfield from the form and activated the form.
    Then I copied the textfield from another form into my form and activated again.
    And guess what: It works, even tough the fields are absolutely identical incl. script
    regards

  • Use of BADI in HCM Processes and Forms

    Hello Friend's,
                I am feeling trouble in learning HCM Processes and Forms.. Actually i dont know what is the role of BADI in HCM Processes and Forms. one more thing i need to know is OPERATION for backend service. What is the use of operation and how i can trigger the badi methods when running in portal.

    Hi Ramesh,
    Hope this is not too late to help.
    Do_operation will be called whenever there is roundtrip, by triggering event USER_EVENT_CHECK using form scripting.
    example,
    To trigger roundtrip for a drop down list, under exit* event add this
    xfa.record.CONTROL_PARAM.ISR_EVENT.value = "USER_EVENT_CHECK";
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    regards,
    Xiang Li

  • Php form data script

    Hi all
    would someone beable to help?
    I have been using a free php form data script on my website but I am finding that when people fill in the form that not all the form submissions are getting through and I am not sure if it is the php form script
    Would any one be to direct me to a good free php data script that is simple to use
    many thanks for your help!

    hi there
    many thanks for your help!
    ok, am  little new to this, so do you mean in my contact.php script I have?
    not sure what I would be looking for?
    I tried to attach to this post but copuld so zipped it for download here; http://www.thevineproject.org.uk/contact.zip
    thanks for your help

  • Php form processing script

    Hi. I got a program to write a php form processing script. My submit form is for photo submission to my domain email. I published to site and did a test to see if it works i got this error:
    Warning: require_once(F:\Domains\mydomain\mydomain.com\wwwroot/includes/Upload_Photos-lib.php): failed to open stream: No such file or directory in F:\Domains\mydomain\mydomain.com\wwwroot\Upload_Photos.php on line 24 Fatal error: require_once(): Failed opening required 'F:\Domains\mydomain\mydomain.com\wwwroot/includes/Upload_Photos-lib.php' (include_path='.;C:\php\pear') in F:\Domains\mydomain\mydomain.com\wwwroot\Upload_Photos.php on line 24
    What does this mean? How can i solve this so that i can process my form?

    See if the below form helps: You need to create a folder on your server named - upload - this is where any files uploaded will be stored (make sure the folder is writable. Also change the email address where the information that someone who has uploaded a file will go to. Look for the following in the code: $to ="XXXXXXXXXXXX.com";
    <!DOCTYPE html>
    <head>
    <meta charset="UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    #wrapper {
    width: 400px;
    margin: 0 auto;
    </style>
    </head>
    <body>
    <div id="wrapper">
    <?php if(isset($_POST['submit'])) {
    $name = trim($_POST['name']);
    if(empty($name)) {
    $error['name'] = "Please provide your name";
    $location = trim($_POST['location']);
    if(empty($location)) {
    $error['location'] = "Please provide your location";
    $email = trim($_POST['email']);
    if(empty($email)) {
    $error['email'] = "Please provide your email";
    $category_description = trim($_POST['category_description']);
    if(empty($category_description)) {
    $error['category_description'] = "Please provide the category or description";
    $terms_conditions = trim($_POST['terms_conditions']);
    if(empty($terms_conditions)) {
    $error['terms_conditions'] = "Please accept the terms & conditions";
    $allowedExts = array(
       "doc",
      "docx",
            "rtf",
            "txt",
            "pdf",
            "jpeg",
            "jpg",
    $allowedMimeTypes = array(
      'application/msword',
            'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
            'application/rtf',
            'application/x-rtf',
            'text/richtext',
            'text/rtf',
            'application/plain',
      'application/pdf',
      'image/gif',
      'image/jpeg',
    $extension = end(explode(".", $_FILES["file"]["name"]));
    if (empty($_FILES["file"]["name"])) {
        $selectFile = 'Please select a file to upload';
    elseif ( ! ( in_array($extension, $allowedExts ) ) ) {
      $fileTypeNotAllowed = 'File type not allowed';
    elseif ($_FILES["file"]["size"] > 2097152) {
      $fileTooLarge = 'Please provide a smaller file';
    elseif (file_exists("upload/" . $_FILES["file"]["name"])) {
    $fileExists = $_FILES["file"]["name"] . " already exists, Please change the file name ";
    elseif (in_array( $_FILES["file"]["type"], $allowedMimeTypes ) )
        if(!empty($_POST['terms_conditions'])) {
    move_uploaded_file($_FILES["file"]["tmp_name"], "upload/" . $_FILES["file"]["name"]);
        $fileName = $_FILES["file"]["name"];
        $fileUploadSuccessful = 'File uploaded successfully';
    $to = "XXXXXXXXXXXXX.com";
    $subject   = "Upload to website";
    $headers  = "From: $email\r\n";
    $headers .= "Reply-To: $email\r\n";
    $message = "Name: $name\n\n";
    $message .= "Location: $location\n\n";
    $message .= "Email Address: $email\n\n";
    $message .= "Category/Description: $category_description\n\n";
    $message .= "File: $fileName\n\n";
    mail($to, $subject, $message, $headers);
    $sent = "Mail was sent successfully";
    ?>
    <h1>Form</h1>
    <?php
    foreach ($error as $value) {
        echo "<p>".$value."</p>";
    if(isset($formFieldError)) {
    echo "<p>".$formFieldError."</p>";
    if(isset($selectFile)) {
    echo "<p>".$selectFile."</p>";
    if(isset($fileTypeNotAllowed)) {
    echo "<p>".$fileTypeNotAllowed."</p>";
    if(isset($fileTooLarge)) {
    echo "<p>".$fileTooLarge."</p>";
    if(isset($fileExists)) {
    echo "<p>".$fileExists."</p>";
    if(isset($fileUploadSuccessful)) {
    echo "<p>".$fileUploadSuccessful."</p>";
    ?>
    <form action="upload_file.php" method="post"
    enctype="multipart/form-data">
    <p>
    <label for="name">Name<br>
    <input type="text" name="name" id="name" value="<?php if(isset($name)) {echo $name; }  ?>"/>
    </label>
    </p>
    <p>
    <label for="location">Location<br>
    <input type="text" name="location" id="location" value="<?php if(isset($location)) {echo $location; }  ?>"/>
    </label>
    </p>
    <p>
    <label for="email">Email<br>
    <input type="text" name="email" id="email" value="<?php if(isset($email)) {echo $email; }  ?>" />
    </label>
    </p>
    <p>
    <label for="category_description">Category and Description<br>
    <input type="text" name="category_description" id="category_description" value="<?php if(isset($category_description)) {echo $category_description; }  ?>" />
    </label>
    </p>
    <p>
    <label for="file">File Attachment:<br>
    <input type="file" name="file" id="file" />
    </label>
    </p>
    <p>
    <label for="terms_conditions">Terms & Conditions:
    <input name="terms_conditions" type="checkbox" value="accept" <?php if(isset($_POST['terms_conditions'])) {echo "checked"; }  ?>> (Please check)
    </label>
    </p>
    <input type="submit" name="submit" value="Submit" />
    </form>
    </div>
    </body>
    </html>

Maybe you are looking for