Radio buttons determine what company logo appears

In the ss9, I created a form using the generator feature of the Action where the first line is two radio buttons for the user to choose which of our two companies they work for. According to their choice, corresponding company logo went from invisible to visible on the Master Page. It works fine, but when a second page is generated dynamically, the logo appears on page one. How to display on all subsequent pages generated?

Hi Don,

Error in basic on my part I like to use the docReady event because it fires only once, as the form is returned on departure. However, that's the problem here. When a new page is rendered, the docReady event does not fire, so the new instance of the ImageField is open.

Simple solution is to move the docReady event script to the initialize event of the ImageField. I modified the sample, same link (http://assure.ly/sUcrHx).

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Add radio button to each row of an interactive report: possible or not?

    First of all, let me explain what is the point of this application.
    I do an application that allows you to select an item in a drop-down selection list. This list is a list of food categories. Suppose the user selects "Fruit."
    Then the page refreshes and shows an interactive report with a list of foods which belongs to the category of fruit.

    This is where I want to change things:
    I want the user to be able to view the interactive report, but in this interactive report, I would like to add a button for each row.
    Then, when a certain type of food is selected (say "Strawberry") via the radio button, a text field should appear under the interactive report. In this textfield, the user can then add the weight of the food, and then it will calculate how many carbs in strawberries there.

    All that I really want to know is:*.
    How can I add an option button to each row of the interactive report, and how to bind this option button to the value of that particular line? *



    Additional information:
    The "P17_FOOD_CATEGORY" element contains the following LOV:
    Select FOODCATEGORYNAME as display_value, FOODCATEGORYID as return_value
    of FOODCATEGORY
    order by 1

    The 'Food' region contains the following source:
    Select a.FOODID, B.SID, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME unit
    food an inner join FOODCATEGORY b
    On a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
    On a.FOODID = c.FOODID
    where a.FOODCATEGORYID =: P17_SET_CATEGORY

    EDIT:
    PLEASE, I BEG YOU! Even if you don't know an answer, or if you are unsure of your answer, publish! Same suggestions will be welcome! I really need all the help I could get, even if it's not much.

    Published by: 917169 on February 29, 2012 12:25

    Hello

    I had the problem, that you have found.

    >
    Error cannot change the interactive report query.
    ORA-12899: value too large for column 'APEX_040100 '. "" "" WWV_FLOW_WORKSHEET_COLUMNS '. "" DB_COLUMN_NAME' (real: 32, maximum: 30)
    >
    you found this problem because the size of this apex_item.radiogroup(1,a.FOODID) is longer than 30 characters, but we have certain restrictions for the column names, we cannot use more than 30 characters for column names, then for what his use of name of column, please see below changed the code.

    select  apex_item.radiogroup(1,a.FOODID) as "FOODID", a.NAME, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME Unit
    from FOOD a inner join FOODCATEGORY b
    on a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
    on a.FOODID = c.FOODID
    where a.FOODCATEGORYID = :P17_SET_CATEGORY
    

    Hope you help

    Thank you
    Jitendra

  • Required radio button in red color in a dynamic form

    Hi again

    Okey, as the title says, I have some problems with buttons radio required right now. In static fields, they have a border when they are required.

    In dynamic forms that they have, or get no border.

    I have already tried:

    (1) to make a border with script (unfortunately it takes in the text too is much smaller than the normal required border and includes the text = > really ugly)

    (2) to paint a border with lines (unfortunately the box itself straddles the border only for 0, 02 mm (could not fix) and it is pretty darn ugly )

    (3) cut the text, instead write it in a textfield and lining complete box (best solution right now... well that much work and will not look very well either)

    Given that I needed to change my dynamic forms 25 and all have some of these radio buttons necessary in it, I would be grateful ANY solution that would look a bit more acceptable.

    Someone has any idea how to get such a border (or something similar) for these boxes?

    Thanks already

    Lisa

    (PS: I only use quadratic body check)

    PPS. : Sorry to bother you in the last time that many... I really try )

    Hi Lisa,

    I hope I am understanding what you are aiming to achieve.

    The form will have the fields highlighted. Required fields have a red border.

    With respect to the option buttons, you also need a red border around the circle.

    Attached is a sample, I hope it will be helpful.

    On the left are radio buttons that have the script to the initialization, check event if radio buttons are "necessary". If they are then the appearance is replaced by a red border. If radio buttons are not necessary, the appearance remains as "lowered 3d."

    If (scripted_RadioButtonList.validate.nullTest is "error")
    {
    xfa.resolveNode("Yes.ui.checkButton.border.edge").stroke = "solid";
    xfa.resolveNode("Yes.ui.checkButton.border.edge").color.value = "255,0,0";
    }
    on the other
    {
    xfa.resolveNode("Yes.ui.checkButton.border.edge").stroke = "down";
    }

    On the right side of the form of option buttons that are defined as are required when you create the form. At this stage of the design, you can also set the appearance.

    If the script does what you want, you could develop a loop that looked at all form the radio buttons and the border red if the radio button value is "necessary".

    Good luck

    Niall

  • What to put in the xsd schema for the form of the ADF radio buttons?

    Hello, we create a form generated from the data of a HT ADF auto which is a type defined in a schema .xsd. Which schema component Let's in the .xsd schema correspond to buttons option in the form of the ADF? For example, in our .xsd we just

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < xsd: Schema container = ' http://www.w3.org/2001/XMLSchema "xmlns:wf =" " http://www.example.org "

    " targetNamespace = ' http://www.example.org "elementFormDefault ="qualified"> "

    < xsd: complexType name = "FormDataType" >

    < xsd: SEQUENCE >

    < xsd: element name = "FirstName" type = "xsd: String" / >

    < xsd: element name = "Name" type = "xsd: String" / >

    < xsd: element name = "Department" type = "xsd: String" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: Schema >

    What would be the element / type etc be for radio buttons?

    Hi Tali,

    It depends on what you want to do with radio buttons, but it would be better to be a part of string in most cases.

    This could be better handled on the ADF OTN forum, but I'll take a shot at it.  If you have many items to choose from, you can use the string "Department", you already have in your XSD.  When displayed on the form, include various departments with radio buttons next to each other (for example,"manufacturing", "Marketing", "Sales").

    Because this is the BPM forum, I guess your XSD is used as data for a human task which in turn used to create a form of the ADF.  If this is the case, you can use your "Department" in your XSD string element that has already been placed on your form as a text input field.  The reason is the link that you need to update the element of the human task service is automatically created in this way.  Select this field to text, and then in the properties panel, copy the text that is in the 'value' of the field (you stick it in the Value property of the Radio group you will add in the next step).

    There are two ways to get the radio buttons on the form.  You might drag the "Radio group" widget on the form-> click on radio to 'Create a list (select an item)' button-> click the Add icon to add the choices you want to appear on the form (for example,' manufacturing ', 'Marketing', 'Sale').   Once this was added, paste property value text you copied in the previous step into the field of "Value" property of the new Radio group.

    If you select the radio button of the new group source, it should look like this if you wanted two choices for your radio buttons:

    After this has been added, delete the existing text entry field that was created when the form was generated automatically from the human task.

    Hope this helps,

    Dan

  • e-mail address determined by radio button

    Hi all!

    I'm trying to javascript code, according to the radio button that I choose will determine which e-mail my form goes to.  I think I'm close, but I'm missing something.  When I click on the email button it always shifts the radio button on position 1 and we get only 1 email.  Here's what I have.

    var oDoc = event.target;

    If (Campus.rawValue = "1") {}

    oDoc.mailDoc({)

    bUI: true,

                                cTo: " " [email protected] ;" + " [email protected] ;" + " [email protected] ",

    bassujetti: EmployeeName.rawValue + 'Donor Form of conflict of interest. "

    CMSG: "comment:

    })}

    ElseIf (Campus.rawValue = '2') {}

    oDoc.mailDoc({)

    bUI: true,

                                cTo: " " [email protected] ;" + " [email protected] ;" + " [email protected] ",

    bassujetti: EmployeeName.rawValue + 'Donor Form of conflict of interest. "

    CMSG: "comment:

    })}

    ElseIf (Campus.rawValue = '3') {}

    oDoc.mailDoc({)

    bUI: true,

                                cTo: " " [email protected] ;" + " [email protected] ;" + " [email protected] ",

    bassujetti: EmployeeName.rawValue + 'Donor Form of conflict of interest. "

    CMSG: "comment:

    })}

    Thanks for your help!

    Jodi

    Hello

    The first thing I see is that you use wrong operators.

    If (Campus.rawValue = "1") must be if (Campus.rawValue is "1")

  • InDesign, interactive form (PDF) &amp; radio button appearance problem...

    I'm working on an interactive PDF using InDesignCC x 64 form, and I need to have "a selection only choice ', I use the radio button. But the customer want them look like checkboxes.

    No problem: I know how to customize but... But... BUT... Appeareances custom of the option button will not appear only in Acrobat (instead, I got the default appearance of the radio button circular).

    I checked build-in the option box of indesign library (from 010 to 024) and got the same result. The only way I've found is to re - edit my form with Acrobat, and then change the property in 'square' instead of circle (but still can't get my custom appeareance). But as my form contains several pages and a huge amount of people, not mentioning several upcoming release, I would prefer not having to change anything with Acrobat and stay inside Indesign.

    This isn't my first form and I'm not really a newbie, but on this one, I'm totally distraught...

    Hope that someone from the community will be able to help... (I got 7 of those to do 48 hours... Perfect timing )

    All updates using product Adobe (x 64 / win 8.1)

    Does someone have an idea from the status?

    After that several tests on different computers (Mac & PC) it seems that the problem happens only on Acrobat Pro. Not on Acrobat Reader... So it will do the trick, but the Adobe team should take a look at this...

  • Radio buttons with drop-down menus?

    I have created a form for the HR Department of my company, and I need a few radio buttons with dependent drop-down lists.

    In other words, I would (for example) three radio buttons. None of the drop down lists appear until one of the buttons is selected and displayed the appropriate drop-down list. Is this possible? Or is there a better way to do it? I don't want a drop down menus not selected to be available.

    I have 9 Pro for Windows and Pro X for Mac. I know almost nothing about scripts, but I know it can be done.

    Thanks in advance for any help!

    Theresa

    Add this code to the action of the group, or individual radio button actions?

    For each individual button.

    Make the drop down menus visible or hidden?

    Their visibility will be determined by the State of the radio buttons. By default, you can set to hide, when no radio button is selected.

    Can I put any code in the drop-down list properties, or just in the radio button properties?

    Only in the option boxes.

    And when you say "integrate this code at the level of the doc", does that mean?

    Go to Advanced - Document Processing - Document JavaScripts...

    Create a new script, delete the default text that appears in the window, and paste the code I provided instead.

  • Problem with radio buttons does not

    Hi, I just modified someone code a bit because instead of wanting a drop down menu, I wanted to use radio buttons.

    Unfortunately, the structure of the event does not appear as radio buttons, but I do not know why... Just, right now the VI runs and stays with the same "camera name" all the time. I will attach the VI in order to get an idea of what I'm talking about.

    This is because you have the event set up to capture the change in value for the camera name.  Try to create a Radio button value change event.

    Lynn

  • How to show or hide the region of the shuttle during the click on the radio buttons?

    Hello

    I'm new to JDeveloper. Here is my requirement.

    1. create 2 radio buttons: Yes and no and default displays "" selected radio button.

    2. create a region of shuttle with select query in VO.

    Query is:

    Select 'No group' for_user, for_pkg double null

    Union

    Select "Company" for_user, for_pkg "SEGMENT1" double

    Union

    Select 'Rental' for_user, for_pkg 'SEGMENT2"double

    Union

    Select 'Cost center' for_user, 'SEGMENT4' double for_pkg

    Union

    Select 'Project' for_user, 'SEGMENT5' double for_pkg

    Union

    Select "Intercompany" for_user, "SEGMENT8" for_pkg of the double

    order by nulls first for_pkg

    3. initially hide the region of the shuttle during the loading of the page.

    4. click on the radio button 'yes', display area of the shuttle with values at the head of list of query VO and empty list leak.

    5. new click on the 'no' radio button, he must hide region and so screen shuttle shuttle dynamically according to the selected option button.

    But my problem is I am able to hide area shuttle when the page loads at the beginning and after that, when I'm clicking 'Yes' radio button, is just to display area shuttle empty without value in the main list and once when I'm clicking 'No' radio button, it should hide area shuttle but he's not hiding. I used the RPP to show or hide the area Shuttle under certain conditions. I use JDev 10.1.3.3.0 version as we Oracle EBS version 12.1.2 in our society.

    Please find the attached draft and suggest me proper with examples of sample approach.

    Monika,

    I tried to get this working in the lower version of Jdeveloper and looks like it works.

    Can you make the change below and see what happens.

    1. modify your query to VO as below: (I replaced null with SEGMENT0)

    select 'No Grouping' for_user, 'SEGMENT0' for_pkg from dual
    union
    select 'Company' for_user, 'SEGMENT1' for_pkg from dual
    union
    select 'Location' for_user, 'SEGMENT2' for_pkg from dual
    union
    select 'Cost Center' for_user, 'SEGMENT4' for_pkg from dual
    union
    select 'Project' for_user, 'SEGMENT5' for_pkg from dual
    union
    select 'Intercompany' for_user,'SEGMENT8' for_pkg from dual
    order by for_pkg
    

    2. place VO execution to the processFormRequest:

        public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            System.out.println("In process Form Request");
            super.processFormRequest(pageContext, webBean);
            OAApplicationModuleImpl appModule =
                (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
            String eventParam = pageContext.getParameter(EVENT_PARAM);
            System.out.println("eventParam: " + eventParam);
            if ("showHideShuttle".equals(eventParam)) {
                //  appModule.invokeMethod("deletetrailing");
                System.out.println("Inside If");
                OAMessageCheckBoxBean messageCheckBoxBean = (OAMessageCheckBoxBean)webBean.findChildRecursive("checkBoxBean");
                System.out.println("messageCheckBoxBean : " + messageCheckBoxBean);
                String messageCheckBoxBeanVal = (String)messageCheckBoxBean.getValue(pageContext);
                System.out.println("messageCheckBoxBeanVal: " + messageCheckBoxBeanVal);
    
                if ("Y".equals(messageCheckBoxBeanVal)) {
                    OAViewObjectImpl shuttleVO1 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO1");
                    if (shuttleVO1 != null) {
                        shuttleVO1.setWhereClause(null);
                        shuttleVO1.setWhereClauseParams(null);
                        shuttleVO1.executeQuery();
                        System.out.println("Executed Query : " + shuttleVO1.getQuery());
                    }
                    OAViewObjectImpl shuttleVO2 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO2");
                    if (shuttleVO2 != null) {
                        shuttleVO2.setWhereClause("1=2");
                        shuttleVO2.setWhereClauseParams(null);
                        shuttleVO2.executeQuery();
                        System.out.println("Executed Query1 : " + shuttleVO2.getQuery());
                    }
                }
                String[] name = { "RenderAttr1" };
                String[] val = { messageCheckBoxBeanVal };
    
                Serializable[] params = { name, val };
                Class[] paramTypes = { String[].class, String[].class };
                appModule.invokeMethod("setXXCustomPVOValues", params, paramTypes);
    
            }
    
        }
    

    3. move Spel link shuttle Bean for the region of header above.

    Some useful links for the shuttle Bean:

    Technology blog based in Java of Sushant: 13. Area of application OFA shuttle

    Framework OA Blog: control of the shuttle as part of OSTEOARTHRITIS

    See you soon

    AJ

  • Assign values of radio button

    I am building a form with several option buttons.  The form is based on a Likert scale (of strongly in agreement to disagree strongly).  I would like to assign numerical values to each option button.  In many cases, values are 1, 2, 3, 4 and 5.  However, in some cases the statements are reverse scored only 5, 4, 3, 2 and 1.  The test also 10 scales ranging from 'My good Score' "my bad Score.  I have traced where each group of 5 boxes made (what scale).  Each scale is added, resulting in different scores 10 out of 10 different behaviors.

    I searched the net to determine how to do this, because I have already created a more straightforward test using the checkboxes; However, checkboxes properties provide an export value, while radio buttons are not.  So, I'm lost.

    I read about the grouping of option buttons so that only one can be selected.  Got that.  I even read 'export the value of the radio button' which does not exist.  More recently, I read on the scripts.  Enter Javascript!  I don't know anything about.

    Help, please.

    Radio-buttons have a value of exports. It is called 'Radio button choice' and can be found under Properties - Options.

  • Radio button Widget hidden when published

    Radio button widget works very well when you preview, but does not appear when published.

    Any ideas?

    What version do you use? What exit: SWF or HTML? How have you tested after publication? If the output is HTML, you must upload to a Web server to verify the actual behavior of learning interactions (I assume you're talking about the now of option buttons, not the old widget).

  • Entered radio button does not

    I try to have radio buttons in my HTML file panel, but for reasons unknown, they appear as lines of text instead of under form of radio buttons.

    Preview the HTML file in a browser displays the buttons without problems.

    What is the problem here?

    This has been fixed after that I did:
    Adding the type- attribute to the entry tags

    Addition of the attribute checked the entry tags (it's a Boolean, so you assign a value to it--you write just checked)

  • Modification of radio button JavaScript

    Hi all

    OK so I have a form that has both select the drop-down list of the buttons and option buttons. Some have an amount applied to each ' price/value' choices and some have just a list of options, the options that have a value/price also calculate and give a "grand total" amount that appears at the bottom of the form. Once the form completed and submitted all the information is then sent to an email BUT the tricky bit is, on items that do both, to calculate and give a choice, I want only the possibility to be sent to the email, not the price, but I want to calculate. The large amount total is displayed at the bottom is the only amount that was to be sent to the email.

    For example, I broke it down to an element of the form as illustrated.

    HTML

    < select name = "CAT_Custom_76927" id = "CAT_Custom_76927" class = "sΘlectionner" onchange = "Recalculate ()" >

    < option selected = "selected" value = "0" > - options select Limousine - < / option >

    < option value = "" 0 #1 "> 1 (free, except with the coffin of base) < / option >"

    < option value = "#2 250" > 2 (& pound; 250) < / option >

    < option value = "#3 500" > 3 (& pound; 500) < / option >

    < option value = "750 #4" > 4 (& pound; 750) < / option >

    < / select >

    JavaScript

    Grand_Total 1810.00 = + parseFloat ($("#CAT_Custom_76927 option:selected").val()); )

    document.catwebformform22057.Grand_Total.value = grand_total.toFixed (2);

    php action page

    $CAT_Custom_76927 = explode (' #', $_POST ['CAT_Custom_76927']);

    $grand_total = $_POST ["grand_total"];

    $email_body. = "no Limos: $CAT_Custom_76927 [1].» \n » ;

    $email_body. = ' funeral total cost: $ £grand_total. ". \n » ;

    As seen on the email

    N ° Limousines: 4.

    Total cost of funeral: £2560.

    As you can see, 4 limousines have been selected and calculated in "grand total" but only the chosen option was displayed in the email. It works perfectly, but the problem I have is that only works for selected lists. I don't know what I have to do to run the option button? Currently this is from the amount.

    Can someone help me with this please? Here is the link to the corresponding page to get a code in its entirety.

    http://www.clockdoctors.co.UK/test/arrangement-form.html

    Having watched this you would deal with radio buttons the same way as any other element. (The index is that you already use radio buttons for the choice of coffin)

    Suppose you want to ask the customer how much 'personal funeral they need in the presence' for the funeral for example:

    You must include the price of values for the button radio/quanity - 100 #10, 200 #20, 300 #30 as below:

    Staff of funeral in the presence

    10 (£100)

    20 (200 pounds)

    30 (300 pounds)

    You would then add that to the grand_total - function Recalculate()

    + parseFloat (GetSelectedItem (document.catwebformform22057.CAT_Custom_007))

    Then in the php process form script add the variable to get the number of the value of the radio button:

    $CAT_Custom_007 = explode (' #', $_POST ['CAT_Custom_007']);

    $email_body. = ' present personal funeral: $CAT_Custom_007 [1].» \n » ;

    I think it should work.

  • Auto-possibilite select radio buttons in CP7

    I'm 7 Captivate allows you to create real scenarios of software that we use. Everything is going well, but there is a feature that is eluding me. Our software will report data for the user to check, but when the software sees a discrepancy of data, it returns the user a list of conflicts with check boxes for the user to decide what data to enter into the data system. See the screenshot of the application (with false data, of course)

    Background164.jpg

    I use the widget of the radioButton reinforced with all the required parameters so that it can look like the software. I also have the advice of Lillybiri and do NOT duplicate widgets. All widgets are reports from the data very well to all varialbles and I advanced actions to assess whether learners have chosen the correct data of pairs before moving on. What brings great... except...

    The software OFFERS data for use when the screen appears. I have cannoot for the life of understand me how to check one of the radio automatically when the blade penetrates. I use the advanced actions when defining the variable to the data that the software suggests on the slide enter, but all the radios that are rendered as disabled. Currently, the user / learner must check each option button. On the live software, they simply need to varify the verified data are the correct data and move.

    Is it possible to check the radio buttons for the learner?

    Sorry, didn't have time to check it out today. The only way to have a 'timed' event uses the widget based on the time of Jim http://captivatedev.com/2012/09/26/adobe-captivate-6-0-free-widget-time-based-actions/

    And have you tried the reverse: have the widget appear slightly delayed? Could not try it.

    I had hoped that the new timer interaction could do something similar, but once the time it is stll 2 seconds waiting time and action only possible is a jump to...

  • check the radio button does not submit the form?

    Hello


    Your name:
    E-mail address:
    Contact no.:
    Topic:


    Message:




    Can not read the image? Click here to refresh

    I have a form on my site,

    and all his work.

    But I noticed that the information of the radio button

    is not sent?

    may an advise why?

    Also, can someone suggest how I can configure the name where the email?

    as when the email is downloaded, it come with my Web Host/Server name?

    Thank you

    < Center > < form name = 'contact' method = "POST" action = "form_process.php" >

    < table width = "306" border = "0" cellpadding = "0" cellspacing = "0" >

    < b >

    < td width = "93" height = "28" valign = "top" > your name: < table >

    < td width = "213" > < input name = "name" type = "text" >

    < table >

    < /tr >

    < b >

    < td height = "28" valign = "top" > Correo electronico: < table >

    < td > < input name = "email" type = "text" > < table >

    < /tr >

    < b >

    < td height = "28" valign = "top" > Contact No.: < table >

    < td > < input name = "contact" type = "text" size = "24" > < table >

    < /tr >

    < b >

    < td height = "85" valign = "top" > subject: < table >

    < td > < label > < input name = "category" type = "radio" value = "Appointment" / > appointment < / label > < br / >

    < label > < input name = "category" type = "radio" value = "Schedule" / > opening hours < / label > < br / >

    < label > < input name = "category" type = "radio" value = "Products" / > Products < / label > < br / >

    < label > < input name = "category" type = "radio" value = "Other" / > other < / label > < table > < /tr >

    < td height = "28" valign = "top" > Message: < table >

    < td > < textarea name = "message" = "24" cols rows = "5" > < / textarea > < table >

    < /tr >

    < tr > < td > < table > < td height = "85" valign = "top" >

    < br / > < img src = "captcha_code_file.php? rand = <?" PHP echo rand();? ' > '.

    ID = "captchaimg" >

    < br / > < label for 'message' = > enter the above code here: < / label >

    < br / > < input id = "6_letters_code" name = "6_letters_code" type = "text" >

    < br / > < small > can not read the image? Click on < a href = "" javascript: refreshCaptcha(); "> here < /a > to update < / small >"

    < table > < /tr >

    < b >

    < td > < table >

    < br / > < td valign = "top" align = "center" > < input type = "submit" value = "Submit" name = "submit" > < table >

    < /tr >

    < /table >

    < / form > < / center > < br / > < table >

    OK - I see what is happening. The script that determines the content of captcha also sets the session variable. To read this variable on the processing page, you need to enable sessions there too. -Change

    If (isset($_POST['submit']))

    on this subject.

    {if (! isset($_SESSION))}

    session_start();

    }

    If (isset($_POST['submit']))

    If there is an error of Captcha, you will also need to print that the visitor sees an indication that they do not have this right. There are several ways to do it, but probably the easiest is just to send them to the test to white form with an error message, so change that-

    Header ('Location: thank_you.html "");

    }

    on this subject.

    Header ('Location: thank_you.html "");

    } else {header('Location:captcha_error.html') ;}

    then create the captcha_error.html page that explains what that went wrong, with a link to the page of the form.

    See if that helps.

Maybe you are looking for