Problem with form coding

I have somehow broken one aspect of a registration form that
has otherwised
worked perfectly for years. At
http://www.powerpointlive.com/register.htm
The four checkboxes labeled "chief involvement" only return
one answer, even
if the user checks more than one. I can't figure out what I
did! I would be
grateful for someone rescuing me...
Rick A.
Pleasanton CA

On 06 Jul 2007 in macromedia.dreamweaver, Murray *ACE* wrote:
> The only way it COULD have worked would be if those
checkboxes have
> different names.
Actually, they can be an array:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<meta http-equiv="imagetoolbar" content="no">
</head>
<body>
<?php if ($_SERVER['REQUEST_METHOD'] == 'POST') { ?>
<?php
$to = '[email protected]';
$subj = 'Accented Chars';
$body = utf8_decode('$_POST["body"]: ' . $_POST['body']);
$headers = 'From: Ralph <[email protected]>' .
"\n";
mail($to, $subj, $body, $headers);
?>
<p>$_POST['idfield']: <?php echo $_POST['idfield'];
?></p>
<p>$_POST['namefield']: <?php echo
$_POST['namefield']; ?></p>
<p>$_POST['checkbox']: <?php echo
$_POST['checkbox']; ?></p>
<pre><?php print_r($_POST); ?></pre>
<?php } ?>
<form name="form1" method="post" action="<?php
$_SERVER['PHP_SELF'] ?>">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>idfield</td>
<td><input type="text" id="idfield"></td>
</tr>
<tr>
<td>namefield</td>
<td><input type="text"
name="namefield"></td>
</tr>
<tr>
<td>checkbox</td>
<td><input type="checkbox" name="checkbox"
value="checkbox"></td>
</tr>
<tr>
<td><input type="submit" name="Submit"
value="Submit"></td>
<td> </td>
</tr>
</table>
<fieldset>
<legend>Music Types</legend>
<table>
<tr>
<td>Checkbox 1</td>
<td><INPUT TYPE="CHECKBOX" NAME="music[]"
VALUE="Reggae"></td>
</tr>
<tr>
<td>Checkbox 2</td>
<td><INPUT TYPE="CHECKBOX" NAME="music[]"
VALUE="Ska"></td>
</tr>
<tr>
<td>Checkbox 3</td>
<td><INPUT TYPE="CHECKBOX" NAME="music[]"
VALUE="Classical"></td>
</tr>
</table>
</fieldset>
</form>
</body>
</html>
Joe Makowiec
http://makowiec.net/
Email:
http://makowiec.net/contact.php

Similar Messages

  • Static/Dynamic PDF problem with Forms 7.0

    Hi all
    I wonder if anyone has an answer to this?
    I'm having problems with getting the instance manager to work correct in a couple of forms. It works great if I preview in Designer (8.1) or render through ES 8.2, but since we haven't upgraded our production environments yet, I'm stuck with Forms 7.0 there. And when I try to render with that, the form is simply not working as it should...
    My guess is that Forms 7.0 chooses to make the form static instead of dynamic, but how to change this behaviour from the xdp? I've checked all the options of making it a dynamic xdp via Forms->Properties and checked just about everything I can come up with, but it's simply not working right now... anyone with ideas?
    What I'm trying to do is to hide subforms depending on what the user has chosen in a different form (html), so that the user won't see irrelevant data. It's been done before but now it seems like Forms 7.0 wants to run the forms static always.
    I've contacted Adobe support for a week ago but still haven't got anything from them leading me the right way. That's the reason I'm now asking here if anyone has any good idea...
    A bit more information about what I've tried:
    When I set min instances to 1, they are all visible but then they don't hide.
    If I don't set minimum instances to 1, they don't display at all in forms 7.0 when choice Repeat subform for each item is set.
    Using initialCount set to 1 do no good.
    Doesn't matter if I use setInstances, addInstance or removeInstance as far as I've been able to see. I have also tried using presence = "hidden"; but with no luck.
    If the prefill xml file is using appropriate xml syntax, it shows correct number of subforms but since I also wants to hide irrelevant subforms, it's not an acceptable solution.
    Thanks in advance for any tips.

    Yes. I could add an "Of course" but it has happened before that it's something that simple. Been scratching my head for at least 4 hours just today and at least the same amount of hours before so I think I've narrowed out all the simple stuff but I might have missed one..
    Any more tips? One strange issue is the fact that the form behaves different if the prefill xml file is structured in different ways. Nothing to do with prefilling, just how the PDF itself behaves.

  • Problem with forms authentication in OWA

    Hi
    I have a problem with exchange 2013 standard
    When I enable forms authentication on OWA, after logging in I get a 404 file not found error.
    Forms authentication works fine on ECP.
    I noticed that the login url has a ReturnUrl on the querystring which is double url encoded.i.e. I am getting
    https://centaur.patriot.local/owa/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2fcentaur.patriot.local%2fowa%2flogin.aspx%3fReturnUrl%3d%252fowa%252f%253fbO%253d1%26bO%3d1
    If I unescape the ReturnUrl and put that in the browser,(like the following), it works:
    https://centaur.patriot.local/owa/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2fcentaur.patriot.local%2fowa%2flogin.aspx%3fReturnUrl=/owa/?bO=1&bO=1
    So either IIS is redirecting twice or the redirect url is incorrect.
    Any ideas on how to fix this?

    Hello,
    You're right. the issue is related to IIS.
    If you do not want IIS to allow doubled-encoded requests to be served, please set allowDoubleEscaping vaule to false to check the result.
    -Encoded Requests" section in the following article:
    http://www.iis.net/learn/manage/configuring-security/use-request-filtering
    If the settings don't work, I recommend you post your issue to iis forum.
    http://forums.iis.net/
    If you have any feedback on our support, please click
    here
    Cara Chen
    TechNet Community Support

  • Problems with Forms view in Web browser

    I am having several problems with viewing forms in IE 7.
    I am running Oracle 10g. When I run a form for the first time it seems to run ok. Then if I make changes and want to view the changes, the form does not refresh. I also have a problem viewing different forms...IE keeps displaying the initial form instead of the new one. I have to completely shut down Forms Builder and OC4J in order to see a different form, or changes to the current form.
    Also, I am having the annoying text problem where after the first view, HTML code appears on the screen and I have to remove a digit from before the HTM part of the URL in order to even attempt to run anything. Refreshing the screen does not work.
    Please help...this is really irritating...
    Thanks,
    Kristin

    IE 7 isn't certified against Forms 10g
    is it important for you to use version 7 ?

  • Strange Problem with Forms (Smart Forms)

    I have lately been experiencing a strange problem with standard forms in the system. We have WebAS640 / ECC5.0 System. Soon after the initial run of patches, most forms in the system are showing the character '#' in place of formatted texts.
    I have searched the internet and most forums, but have not found a solution. Since this is the standard forms that i am talking about (unmodified and untouched) so i assumed this had something to do with our patch levels. However that is only an assumption.
    In particular i am having problem with the billing invoice type RD00, form name: LB_BIL_INVOICE. I have traced the problem to this much. The form shows the expected text, where no character format is applied to it. And where ever there is some character format, it just shows a string of hashes ('#'). The style being used by this form is LO_STYLE.
    I am also listing my patch levels in case that helps.
    SAP_BASIS     640             0014
    SAP_ABA             640             0014
    ST-PI             003C_640     0001
    PI_BASIS     2004_1_640     0006
    SAP_BW             350             0012
    SAP_HR             500             0005
    SAP_APPL     500             0006
    PI             2004_1_500     0004
    EA-IPPE             300             0004
    EA-RETAIL     500             0005
    EA-PS             500          0005
    EA-HR             500          0005
    EA-GLTRADE     500          0005
    EA-FINSERV     500          0005
    EA-DFPS      500          0005
    EA-APPL      500           0005
    Hope somebody can help in regard

    Hi Ashan!
    Interesting problem. You are seeing replacement characters, because assigned font(size) is not installed (somewhere, SAP or printer).
    But since this is completely standard, open an OSS-request - maybe it's not as fast as SDN, but I'm sure you will get a qualified answer (and solution).
    Regards,
    Christian

  • Fonts problem with forms on web

    Hi
    I have deployed an application developed in forms 6i on web. I have strange problem with Arabic fonts. When I browse the application from win'98 client PC I have no problems. When I browse the same with win2000 pro client PC, I have problem with fonts. Characters get displayed properly but they get displayed from left-to-right. Text on some buttons/display items is ok but some buttons/display items have above said problem in same form. Strange problem.
    Please help to overcome this problem.
    Thanks in advance
    Syed

    Hi again - i logged to metalink and saw, that there is a workaround for this.
    The problem is solved, when I edit the form's package and comment the RETURNING clause.
    It is simple for me, but if I give to other the ability to create forms, should I repair every of them ?
    Is there a patch for this ? The problem with dblinks and forms is old, isn't it ?
    Thanks for explanation.
    Ales Hrncarek

  • Problems with form printing

    Hi experts,
    How could it be if I want to test my sapscript it doesn't ask for the printer and the request goes to directly into the spool. The problem with this I cannot choose in which printer do I want to print it goes immediately into the spool.

    Hi!
    In SE37, check out function module OPEN_FORM
    It has a parameter, called OPTIONS.
    Check out its documentations and parameters.
    Regards
    Tamá

  • Can anyone spot the problem with this coding??

    can anyone spot this problem with my program. it keeps saying
    "missing return statement } " with a little arrow beneath the bracket.
    many thanks
    public class Game extends GameInterface
         GameInterface gameInt = new GameInterface();
         String boardString;
         // final static char NOUGHT='O', CROSS='X';
         private int square = 0;
         Player player1 = new Player();
         Player player2 = new Player();
         String firstPlayer, secondPlayer;
         public Game() // Constructor
              boardString = "0123456789";
    public boolean initialise(boolean first)
                   gameInt.setPlayerNames(player1,player2);
              MyPrint.myPrintln("Player one name is " + player1.getName());
              MyPrint.myPrintln("Player two name is " + player2.getName());
              String P1 = player1.getName();
              String P2 = player2.getName();
    }

    It means you declare your method to return something, but you don't actually return anything.

  • Get_file_name problem with forms 9i

    Hi all,
    Why does not the built-in function get_file_name work in forms 9i ? I created a button in my forms and coded the when-button-pressed trigger associated with it , in which I declared a varchar2(60) variable to hold the return value of get_file_name . But in the runtime there is nothing to happen : the dialog box does not appear !
    Does the problem also occur in forms 10g ?
    Thanks.

    Andy,
    the built-in operates where the runtime is, which is the server. Forms 9i is web only and for this reason the built-in no longer works as it did. Use webutil (see otn.oracle.com/products/forms), which has this function (prefixed with "client_") to do exactly what you want it to do.
    Frank

  • Problem with form created in Accrobat 9 opening in Reader 9 (Works in Reader 8.1.2)

    I created a form using Acrobat 9 and Adobe LifeCycle Designer ES 8.2. It works great on my PC running Adobe 8.1.2. It also works correctly when accessed on a flash drive. Additionally, it opens correctly on my wife's PC running Reader 8.1.2 regardless of how it was transferred. (Worked via flash, network copy/paste to desktop, and as an email attachment).
    The problem is, on my laptop, and work computers running Adobe Reader 9.0, attempting to open the file generated the following error window to appear, once you click "OK" on the error, the form fields are no longer accessible. The error is as follows:
    "This document enabled extended features in Adobe Reader. The document has been changed since it was created and use of extended features is no longer available. Please contact the author for the original version of this document."
    I re-opened the form in LifeCycle and optimized it for Adobe Reader 9.0 and higher; but the error persists. The only difference it makes is now when the form is opened on the Reader 8.1.2 machines, it generates first a window for downloading Reader 9.0, and then a compatability warning. Clicking cancel on the download and ignoring the warning results in a form that is still usable and that can be saved. On the Reader 9.0 machines, even after optimized for 9.0 and higher, the above error still persists.
    Any help would be greatly appreciated!
    Thanks in advance :)

    No, you are wrong (Gene & Mike). First, the forms, at least my forms, have NOT been edited since being created in designer. They were created and saved directly to flash. Second, this issue has been posted on the acrobat forum as well as the life cycle designer forum and both thread were ended with adobe expert posts saying it was an adobe reader issue and to post here.
    I have experimented more with this issue and it seems to be a 'trusted identity' issue within reader, but I have not wholely figured it out yet. My forms work on Reader, 7, 8, and 9. They work on all versions of 7 and 8 regardless of what the form was optimized for (my forms were optimized for 9 and higher). The only trouble is on 9.0. I have found that when updating on client machines, reader gives a prompt (sometimes) that says reader has found a set of trusted identities from a previous version, would you like to use these identies or create a new set of identities. If you choose to keep the existing trusted identies set, the form works, even when upgraded to reader 9.0
    Not trying to be argumentative (Mike and Gene) but the 'experts' bail on this issue by telling people it's a reader problem and to post here.

  • Problem with forms created in Adobe 9 not saving in reader X

    We have been using fill in forms I created in Adobe 9 pro and suddenly people were complaining they cannot save the form with their information.  I have discovered that all of those people have acrobat reader X.  I looked for solution and found that original form needs to be saved with "extend features in Adobe reader".  when I did this it seems to have corrected problem.  Does anyone know another way to accomplish without redoing the form? There are many forms and they  have been widely distributed and would be difficult to redistribute. They worked fine with Acrobat reader 9.

    In order for a modified form to be saved with any recent version of Adobe Reader, the document has to Reader-enabled, which is done in Acrobat 9 by selecting "Advanced > Extend Feature in Adobe Reader". So if the forms worked with Reader 9, they must have had the rights applied through this process or by LiveCycle Reader Extensions. It would be interesting to see a form that is fillable/saveable with Reader 9 that doesn't work with Reader 10.

  • Problem with forms

    Hello, i have a pdf form in single page, but is very long and i want cut in 3 pages (3 or more). When i cut the template the first page, mantein the configuration, but other pages not.
    Any can help me? Thanks.

    Hi,
      Thank you for the additional information. I have a few questions:
    Which tools are you using to generate the PDF template and also the new PDF with data inserted? Are you using FormsCentral  in your workflow?
    Please attach or email to [email protected]
    -screenshoots that illustrate the problems/issues.
    -if possible, the actual pdf template and the generated pdf with data inserted
    In the meantime, let me point you to the Acrobat / Livecycle forums if you are using these tools
    http://forums.adobe.com/community/acrobat
    http://forums.adobe.com/community/livecycle
    Lucia

  • Problems with form 10022 (selecting offer from order form)

    Hi,
    I'm trying to capture the event of form load of the form 10022, but I can't. It doesn't execute that event, the ones that it execute are form activate and got focus, so I've tried with them but the problem is that although beforeaction is false,they execute before loading the matrix data. How can I capture this event so that the matrix is loaded? I've also tried with matrix load and datasource load events. This form is the one that appears when clicking in the offer button in an order form.
    Thanks

    Hi Vanesa,
    Try using the menuevent or button click event which makes the 10022 form to be shown. After this form is loaded and activated, it should raise again with the beforeaction = false value.
    Keep in mind that if you use the menuevent, you should catch the form using ActiveForm Property.
    Hope this helps.
    Ibai Peñ

  • Problems with Forms and character encoding

    I'm having problems trying to read unicode data inputted into a Form on my JSP page.
    I've used the meta tag <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> to set the charset of the page to UTF-8. I've inputted some chinese characters inot my form and when I try to read the subsequent request parameter in my servlet using request.getParameter() the string returned is this
    "&#26469;&#28304;" which is the escape sequence required by HTML to display these characters.
    From what I've read on the subject this doesn't seem like the expected value. I've tried other ways of getting the correct string value such as setting the character encoding request.setCharacterEncoding("UTF-8") and then converting the bytes using this encoding value but it doesn't seem to work.
    I could write a method to split up the string using the ; as a token and working out the correct unicode character but this doesn't seem like the right thing to do.
    Any help on how to pass the correct information from the Form in the JSP page to the servlet would be greatly appreciated

    I don't believe that is correct, but if it's returning HTML escapes instead of URL Encoded characters, then it's the browser doing it. This is my test page for playing with Chinese...
    <%@ page language="java" contentType="text/html; charset=UTF-8" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title></title>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>
    <body bgcolor="#ffffff" background="" text="#000000" link="#ff0000" vlink="#800000" alink="#ff00ff">
    <%
    request.setCharacterEncoding("UTF-8");
    String str = "\u7528\u6237\u540d";
    String name = request.getParameter("name");
    %>
    req enc: <%= request.getCharacterEncoding() %><br />
    rsp enc: <%= response.getCharacterEncoding() %><br />
    str: <%= str %><br />
    name: <%= name %><br />
    <form method="GET" action="_lang.jsp" encoding="UTF-8">
    Name: <input type="text" name="name" value="" >
    <input type="submit" name="submit" value="GET Submit" />
    </form>
    <form method="POST" action="_lang.jsp" encoding="UTF-8">
    Name: <input type="text" name="name" value="" >
    <input type="submit" name="submit" value="POST Submit" />
    </form>
    </body>
    </html>

  • Java 6 causing problems with Forms 10.1.2.0.2

    I recently installed Sun Java 6 JRE to my Windows XP machine - I have previously been using Java 5 JRE (1.5.0_09).
    When I run my Forms applications from any of our appservers (10.1.2.0.2) (i.e. dev, test, prod) I can get by the login no problem but then get presented with a 'blank' browser window. I say 'blank' because the menu and status bar are present but no forms are displayed.
    In the Java console (tracing set at level 5) I see the following error ...
    network: Connecting http://dbdev.kelman.com:7780/forms/lservlet/;jsessionid=ac1d027f30d62f783e1e32bd4b9295bce539576dad6f.e3aNbxiTbNuMe38Kah0Sb34Pa3n0n6jAmljGr5XDqQLvpAe with cookie "oracle.uix=0^^GMT-7:00"
    network: Cache entry not found [url: http://dbdev.kelman.com:7780/forms/java/oracle/bali/share/sort/StringComparator.class, version: null]
    network: Connecting http://dbdev.kelman.com:7780/forms/java/oracle/bali/share/sort/StringComparator.class with proxy=DIRECT
    network: Connecting http://dbdev.kelman.com:7780/forms/java/oracle/bali/share/sort/StringComparator.class with cookie "oracle.uix=0^^GMT-7:00"
    Exception in thread "AWT-EventQueue-2" java.lang.NoClassDefFoundError: oracle/bali/share/sort/StringComparator
         at java.lang.Class.getDeclaredMethods0(Native Method)
         at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
    I uninstalled Java 6 and then was able to run the web forms just fine.
    I reinstalled Java 6 and I'm back to the same problem.
    Anyone run across this ?
    Message was edited by:
    markhooper
    null

    This is for the benefit of everybody who are trying to run Forms 10g on the web with Oracle Application Server 10.1.2.0.2 and JRE/JDK 1.6.
    Technically speaking Oracle Support's claims of not being able to certify Forms 10g on Java 1.6 has been due to the way JRE/JDK behaviour which has been changed from 1.6 onwards. Aparently from Java 1.6 onwards, there is a check for all the imported files while classes are being loaded. Although some are not needed by forms they are still checked and an error occurs if they are not present (Note: 748324.1).
    The solution to the problem is to apply the patch 10.1.2.3 (https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=5983622) which is about 1.7Gb for Linux-x86 platform.
    The underlying issue is the way FRMALL.JAR file not having the class oracle.bali.share.sort.StringComparator. Aparently from 10.1.2.3 onwards, Oracle have included this file in the FRMALL.JAR file as a standard bundle, which resolves the bug and completes the java archive.
    Alternatively, you may be able to try the one off patch 7384879 (FORMS 10.1.2.3 JAR FILE EXPIRE JANUARY 2009) which is about 4.6Mb from which you can extract the FRMALL.JAR file and replace the original file in the iAS installation.
    Though I have not tested this personelly, this could be a faster way out of the problem.

Maybe you are looking for

  • I cannot run anymore itunes on my laptop - error 7 (windows error 998)

    I cannot run anymore itunes on my laptop - error 7 (windows error 998)

  • Toshiba L4353 39" - USB Movie Playback Problem

    Hi, I recently bought a Toshiba L4353 39" smart tv, the usb playback does work but i keep having this really annoying problem, basically i'm watching a movie file and everything is fine and then for no reason the playback of the file stops and i'm ba

  • What SSD do Apple use in MacBook Pro (Early 2011)

    Hi, my MacBook is becoming a little sluggish (3 and half years of solid use) so I'm looking to give it a bit of a facelift, I've upgraded the RAM but I've read that changing from HD to SSD will improve my performance significantly, so what SSD do App

  • CProjects 4.0 : Correct resource search and incorrect staffing

    Hello to all SAP community! I am using resource search by qualification in cProjects. The search itself is OK, but when I am trying to staff the project role from resources found, the role is staffed by  N.N.1 resource, not that one that I have chose

  • Routing - Minimum wait time - only workdays

    Hello, we need to block for an operation in the routing 4 days (external processing). We dont want to use any external processing data in the operation for purchase order creation, just block the time. I've used Minimum wait time as 4 days. The probl