FORM & encodeURL - can it be done?

I can't find an answer to this on the forum but it seems like it would be a very common problem.
How do you encodeURL from a FORM? It's straightforward from an A REF but how do you pass the session id when the only obvious information sent to the server is the ACTION?
Thanks in advance, robbiest.

Here's the answer:
<FORM METHOD="POST" ACTION="<%=
response.encodeURL("http://<server-name>:<port-number>/<path-to-servlet>")%>">

Similar Messages

  • Is there a way that you can have two different text fields (email, phone) that one at least one of them must be completed before submitting the form? Can it be done using javascript in the validation tab? if so, how?

    Is there a way that you can have two different text fields (email, phone) that one at least one of them must be completed before submitting the form? Can it be done using javascript in the validation tab? if so, how?

    Here is one solution:
    // mouse up action for submit button;
    function GetField(cName) {
    // get field object for cName field with error checking;
    var oField = this.getField(cName);
    if(oField == null) app.alert("Error accessing field named " + cName + "\nPleae verigy field name, spelling and capitalizeation.", 1, 0);
    return oField;
    } // end GetField function;
    var oPhone = GetField("phone");
    oPhone.required = oPhone.value == oPhone.defaultValue;
    var oEmail = GetField("email");
    oEmail.required = oEmail.value == oEmail.defaultValue;
    if(oPhone.required && oEmail.required) {
    app.alert("Missing required fields.", 1, 0);
    } else {
    app.alert("Submitting form", 3, 0);
    // additional code for submission;

  • Form Validation - Can this be done?

    I have a form with several dropdown menus.
    One dropdown menu has two options yes - no
    Depending on which option is selected, i want the following
    'text' field to
    either be greyed out (if 'no' is selected) or editable (if
    'yes' is
    selected).
    Can this be done and if so, how?
    Thanks
    Andy

    Hi Paul
    Just tried your code and it does disable the text box no
    matter what was
    selected from the previous dropdown.
    How do i get the code to only disable the text box if the
    dropdown has a
    particular vaue? i.e. "no"
    it would also be great if you could point me in the right
    direction
    regarding the use of css to grey the text box out.
    Much Appreciated.
    Andy
    "Paul Davis" <[email protected]> wrote in
    message
    news:ftijsu$qq$[email protected]..
    > Yes it can, on the select form field, add:
    >
    >
    onChange="document.getElementById('field1').disabled=(this.selectedIndex==0)?'':'disabled '"
    >
    > Now, this will disable the field and any text in it
    becomes gray, and,
    > depending on the browser, some borders become gray - to
    take it further
    > you would need to assign some CSS changes as well (which
    is a little more
    > complex)
    >
    > Paul Davis
    >
    http://www.kaosweaver.com/
    > Visit us for dozens of useful Dreamweaver Extensions.
    >
    >
    http://www.communitymx.com/
    > Partner at Community MX - Extend your knowledge
    >
    > Andy wrote:
    >> I have a form with several dropdown menus.
    >> One dropdown menu has two options yes - no
    >> Depending on which option is selected, i want the
    following 'text' field
    >> to either be greyed out (if 'no' is selected) or
    editable (if 'yes' is
    >> selected).
    >> Can this be done and if so, how?
    >>
    >> Thanks
    >> Andy
    >>

  • Can this be done? Emailing a completed form without emailing.

    When using a standard html form, a user can fill in the required fields, press post, and abracadabra, the results of the form are emailed to the specified account and the user is redirected to a page that says your form has been submitted.
    Can this be done using a .pdf? The email button is simply retarded. Why do users have to go through the hassle of having their email client opened just to submit the form they just completed? There probably isn't any other way, but would be nice if there was.
    Is it possible to create a submit button that will automatically email the completed .pdf form to a pre-specified email address and then redirect the user to a "thank you" page? I don't want to annoy my customers by forcing them to email me the form. I just want it sent when they click "submit."
    Is this even possible? If so, is it relatively easy?
    Any help is greatly appreciated!

    >Can this be done using a .pdf?
    Sure. The principle is exactly the same: you submit data to a script
    which runs on a web server. You are limited only by what the
    programmer has made the script do. Don't be under any impression that
    it is "magic": if you have a web form which submits and then you get
    an e-mail it's because there is a script on a web server that a web
    programmer wrote to make it happen.
    > The email button is simply retarded.
    I prefer to think of it as a handy tool for testing, but nothing
    anyone would use for the real solution.
    >Why do users have to go through the hassle of having their email client ...
    They don't. Did you know that you can "submit" an HTML form to e-mail?
    But nobody does, because it just isn't a good way of working. Everyone
    expects an HTML form to submit to a web script, but for some reason
    hopes they can use direct e-mail of PDF forms.
    Aandi Inston

  • How much is it to upgrade form Snow Leopard to Mountain Lion and can it be done in one hit?

    How much is it to upgrade form Snow Leopard to Mountain Lion and can it be done in one hit?

    Run Software Update to download and install the latest updates for Snow Leopard.
    You should now see the App Store icon, and you now need to set up your account:
    http://support.apple.com/kb/HT4479
    To use iCloud you have to upgrade at least to Lion, but some functions are only available in Mountain Lion:
    http://support.apple.com/kb/HT4759
    You can also purchase the code to use to download Lion (Lion requires an Intel-based Mac with a Core 2 Duo, i3, i5, i7 or Xeon processor and 2GB of RAM, running the latest version of Snow Leopard), or you can purchase Mountain Lion from the App Store - if you can run that:
    http://www.apple.com/osx/specs/

  • I need to read data from a text file and display it in a datagrid.how can this be done..please help

    hey ppl
    i have a datagrid in my form.i need to read input(fields..sort of a database) from a text file and display its contents in the datagrid.
    how can this  be done.. and also after every few seconds reading event should be re executed.. and that the contents of the datagrid will keep changing as per the changes in the file...
    please help as this is urgent and important.. if possible please provide me with an example code as i am completely new to flex... 
    thanks.....  

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to disable the previously entered user ID's that automatically appear. For example ; when logging into email , first letter of user ID promts the previously used email user IDs... Want to disable this feature---How can ot be done ?

    Question
    How to disable the previously entered user ID's that automatically appear. For example ; when logging into email , first letter of user ID prompts the previously used email user IDs... Want to disable this feature---How can it be done ?

    *Click the (empty) input field on the web page to open the drop down list
    *Highlight an entry in the drop down list
    *Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    * Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    * Tools > Options > Privacy > History: "Remember search and form history"
    * https://support.mozilla.com/kb/Remembering+passwords
    * https://support.mozilla.com/kb/Form+autocomplete

  • Can this be done?

    I am formatting a form in Adobe Acrobat Pro 9. One of my fields is for a credit card number. I have set up a "Special" Arbitrary Mask to the format and limit of numbers that can be entered.
    What I would like to do it Mask some of the numbers as they are entered. I entered the Arbitrary Mask as 9999-****-**99-9999. The problem is that this set up is causing the entry to skip the ***. My concern then is that the person entering the data will not realize this skip and not provide the correct ending numbers.
    What I would like to happen is that the person entering the data will type the complete 16 digit number and the system will MASK the numbers I designate with an **.
    Can this be done?
    Thanks in advance for any assistance.
    Kathy

    Hopefully I'm not breaking any posting rules by saying "I think I love you!"
    My functional desires always exceed my knowledge level so I want what I don't know how to create. Your script totally worked and I would never have figured that out on my own. I want to learn what you do very badly.
    We are masking the numbers for security reasons. We know the numbers being masked but we don't want to store the full number in our records. 
    Thank you so much for your help, What kind of experience do you have with Access 2007 or 2010?
    Kathy

  • Complete Novice "can it be done"

    I have a swf file running in a cell of a table, my idea is to
    have a movie with individual sections coresponding to individual
    pages on a site.
    what i wnat to do, if possible is have some form of command
    line a page, so when a page is loaded it automatically moves to
    movie to a specific frame plays that section (repeats), if you load
    another page hen it jumps to that frame and plays, get the idea?
    I am constrained by my table layout and software (ecommerce
    package) so the swf has to play in a specific cell, and all other
    pages are pulled into another cell in the table.
    Can it be done ?
    The other idea wat to call individual movies into the cell
    but again knowledge is limited ?
    Thanks

    well you could pass a parameter to the flash movie form the
    url like mypage.html?page=home
    Then the flash would read the url and decide what to do,
    either send to another frame or load another swf into the current
    swf.
    Do a search for passing url vars into flash

  • Create a fillable form that can be saved by others

    Hi, I'm working in Adobe Acrobat X Pro, I'm on a PC
    I know that you go to File>Save As...>Reader extended pdf>
    After that I get "Enable Adding Text in Documents (that are not fillable form)...
    I then get a form that is using a "typewriter" tool." That's not what I want.  I want a fillable form that can be saved by the person filling out the form and not have to use the typewriter tool.  I don't like the way that looks or works.  I hope there is someone that can help.  I used to be able to do this and don't understand what has changed.
    Thanks!

    Advanced > Enable Usage Rights in Adobe Reader
    Yes, it will allow pre-11 Reader users to save.

  • Is it possible to create a standard form that can be emailed to anyone and once filled out by the receiver, have a button that the receiver clicks and the form is encrypted and attached an email back to the sender and a preset admin password would open it

    Is it possible to create a standard form that can be emailed to anyone and once filled out by the receiver, have a button that the receiver clicks and the form is encrypted and attached to an email back to the sender and a preset admin password would open it?

    Hello Graphicsguy123,
    You would need to first create the form ( or Widget in EchoSign) first to generate a url which you can paste it in the email being sent to customers. You would need to make sure you have a Document Cloud Enterprise Premium account in order to create a Widget. If you don't have the account, you can use the trial version to test it. Here is the link:
    Global Trial Registration | eSign services from Adobe
    -Rijul

  • We have a form that we want to make into a form that can be filled out electronically. Can I do this?

    We have a form that we want to make into a form that can be filled out electronically. Can I do this?

    If you mean a PDF document and want to separate it into several parts, there is no way of doing it with just the free Reader, buy it can be done with Acrobat. If you are talking of another type of document, please post full details.

  • Machine Attribute Check in ISE. CAN IT BE DONE?

             Hello,
    I'm trying to build a BYOD policy in ISE 1.2. I would like ISE to get machine attributes as part of the authorization policy. Can this be done? I'm not talking about machine authentication. I need something that could be checked at anytime.
    Thanks for any help!         

    Machine Access Restriction for Active Directory User  Authorization
    Cisco ISE contains a Machine  Access Restriction (MAR) component that provides an additional means of  controlling authorization for Microsoft Active Directory-authentication  users. This form of authorization is based on the machine authentication  of the computer used to access the Cisco ISE network. For every  successful machine authentication, Cisco ISE caches the value that was  received in the RADIUS Calling-Station-ID attribute (attribute 31) as  evidence of a successful machine authentication.
    Cisco ISE retains each  Calling-Station-ID attribute value in cache until the number of hours  that was configured in the "Time to Live" parameter in the Active  Directory Settings page expires. Once the parameter has expired, Cisco  ISE deletes it from its cache.
    When a user authenticates from an  end-user client, Cisco ISE searches the cache for a Calling-Station-ID  value from successful machine authentications for the Calling-Station-ID  value that was received in the user authentication request. If Cisco  ISE finds a matching user-authentication Calling-Station-ID value in the  cache, this affects how Cisco ISE assigns permissions for the user that  requests authentication in the following ways:
    •If the Calling-Station-ID value  matches one found in the Cisco ISE cache, then the authorization profile  for a successful authorization is assigned.
    •If the Calling-Station-ID value is  not found to match one in the Cisco ISE cache, then the authorization  profile for a successful user authentication without machine  authentication is assigned.
    Please check the below link.
    http://www.cisco.com/en/US/docs/security/ise/1.2/user_guide/ise_man_id_stores.html#wpxref41479

  • I will be creating an online survey. Is each page considered a form or can you have multiple pages?

    I will be creating a multi-page survey. Is each page of the survey considered a form or can you have numerous pages in one form?

    Donna,
    A form can have more than one page. To introduce a new page in your form, click on the "New Page" icon highlighted in the image below.
    The image below shows the result of adding a "New Page" element, with a second text field added to the second page.
    Regards,
    Brian

  • Is there a format for at PDF form that can be filled out, saved locally and edited continually afterwards?

    hello
    on the html-based form http://www.samtaleterapi.com/oversigter/psykoterapi.html there isnt the functionality i want
    it can only be filled out and printed
    what i want is a form that can be filled out, saved locally on people's own computers, and  and that the local copy can be edited and saved anew continually
    can PDF do this?
    can the end users edit and save the form with no other program than adobe reader?
    if so, is this a specific format of PDF?
    and if so, how do i create it?
    thanks
    rasmus

    You can indeed create a PDF form that can be opened, filled out and saved by users of Adobe Reader. It simply requires one of the later versions of Adobe Acrobat. It has a function to enable this ability in PDF's.
    The one down side is that there are usage limits (how many times form data can be collected) that you would want to familiarize yourself with in advance to be sure you don't violate the EULA. Exactly how thos limitations work are up to interpretation...

Maybe you are looking for

  • Problem in parsing no-ascii body text message?

    I have a text/plain mime message(Composed in the outlook express) that contains a long one-line japanese string as follow: ���b�Z�[�W���O�v���b�g�t�H�[�����������r�W�l�X�V�X�e�������������������B�C���^�[�l�b�g���������\�����������������A���@�\�����b�

  • PowerPoint: Images not found after joining multiple PPTX to one

    We are using a code block which worked fine in PowerPoint 2007 and 2010: public static PPT.Presentation AddPresentation(PPT.Application appl, bool withWindow) PPT.Presentation presentation = appl.Presentations.Add(ConversionUtils.BoolToTriState(withW

  • Queue status stopped

    Hi All, I am trying a file to file scenario. In SXMB_MONI the message status is "scheduled" and the queue status is "stopped". I have tried deregistering and registering the queue. i also tired to see the error in by double clicking on the queue ID i

  • Transferring message between two Integration servers using th XI adapter

    Hello all, I have the following scenario: 1) Local SAP R3 sends an iDoc to a local Integration server (XI3.0) 2) The local IS transfers the iDoc to a remote IS (XI3.0) through HTTP. 3) The remote IS is supposed to send the iDoc to it's own SAP R3 sys

  • Sim services menu

    My cellular network provider is asking me to adjust the SIM profile, so need to access the SIM services menu, where is this menu on the IPAD MINI ?