Where is my form PHP error? Two values of the label are received in an e-mail, but three others are not

Hello

I have a form on my web page developing, written by a programmer at the top of the page.

http://www.collegestudentvoice.com/form/form.php

Of all the labels, I received emails with attachments.

Except in the label 'College Sports' I will receive 2 values

Football and Basketball.

The three values, I CAN'T receive are:

((1) baseball, Softball) 2 and 3) of others.

It seems to me that php script is written in a dynamic

and structured way.

SEND-FORM FILE - START-> > > > > > > > > > > > > > > > >

<? PHP

PEAR library includes

You should have the installed pear lib

include_once ('Mail.php');

include_once('Mail/MIME.php');

Parameters

$max_allowed_file_size = 10000000; size in KB

$allowed_extensions is array ("jpg", "jpeg", "gif", "bmp");.

$upload_folder = "files /';" <-this folder must be writable by the script

$your_email = ' [email protected] ';//<<-- this day to your email address

$errors = ";

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

{

//Get the uploaded file information

$name_of_uploaded_file = basename($_FILES['uploaded_file']['name']).

//get the file extension

$type_of_uploaded_file = substr ($name_of_uploaded_file,)

                                                                                      strrpos($name_of_uploaded_file, '.') + 1);

$size_of_uploaded_file = $_FILES ['uploaded_file'] ['size'] / 1024;

///---Do validations.

if (empty($_POST['name']) |) Empty($_POST['email']))

            {

$errors. = '\n name and Email are required.';     

            }

if (IsInjected ($visitor_email))

            {

$errors. = "\n bad email value!"

            }

if($size_of_uploaded_file > $max_allowed_file_size)

            {

$errors. = "\n file size must be less than $max_allowed_file_size";

            }

/ /-Validate file extension.

$allowed_ext = false;

for ($i = 0; $i < sizeof ($allowed_extensions); $i ++)

            {

if (strcasecmp($allowed_extensions[$i],$type_of_uploaded_file) == 0)

                        {

$allowed_ext = true;                

                        }

            }

if(!$allowed_ext)

            {

$errors. is "\n the loaded file only is not supported file type.".

"Only the following file types are supported:".implode(',',$allowed_extensions); "

            }

//send email

if (empty ($errors))

            {

//copy the temp. file uploaded to the uploads folder

$path_of_uploaded_file = $upload_folder. $name_of_uploaded_file;

$tmp_path = $_FILES ['uploaded_file'] ['tmp_name'];

if (is_uploaded_file ($tmp_path))

                        {

if (! copy($tmp_path,$path_of_uploaded_file))

                            {

$errors. = "\n error during the copy of the downloaded file";

                            }

                        }

//send email

$name = $_POST ['name'];

$visitor_email = $_POST ['email'];

$user_message = $_POST ['message'];

$to = $your_email;

$subject = "new submission of form."

$from = $your_email;

$text = "a user $name sent you this message: \n $user_message";

$message = new Mail_mime();

$message-> setTXTBody ($text);

$message-> addAttachment ($path_of_uploaded_file);

$body = $message-> get();

$extraheaders = array ('From' = > $from, 'Topic' = > $subject, "Reply-To" = > $visitor_email);

$headers = $message-> headers ($extraheaders);

$mail = Mail::factory ("mail");

$mail-> send ($à, $headers, $body);

//redirection to ' thank you page

header ('Location: .html thank you ');

            }

}

///////////////////////////Functions/////////////////

Function to validate against any attempt to electronic fuel injection

function IsInjected ($str)

{

$injections = array ('(\n+)',

              '(\r+)',

              '(\t+)',

              '(%0A+)',.

              '(% + 0D)',

              '(% 08 +)',

              '(% + 09)'

              );

$inject = join ('|) (', $injections);

$inject = "/ $injecter / I";

if (preg_match ($inject, $str))

    {

returns true;

  }

else

    {

return false;

  }

}

? >

<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional / / IN" "http://www.w3.org/TR/html4/loose.dtd" > ""

< html >

< head >

download < title > file < /title > form

<! - define some elements of style - >

< style >

label, one, body

{

are-family: Arial, Helvetica, without serif.

are-size: 12px;

}

< / style >

<! - a script for vaidating help shape - >

< script language = "JavaScript" src = "scripts/gen_validatorv31.js" type = "text/javascript" > < / script > "

< / head >

< body >

<? PHP

If (!) Empty ($Errors))

{

echo nl2br ($errors);

}

? >

< are method = "POST" name = "email_form_with_php".

action = "<?" PHP echo htmlentities($_SERVER['PHP_SELF']);? ' > ' enctype = "multipart/form-data" >

< p >

< label for 'name' = > name: < / label > < br >

< input type = "text" name = "name" >

< /p >

< p >

< label for = "e-mail address" > Email: < / label > < br >

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

< /p >

< p >

< label for 'message' = > Message: < / label > < br >

< textarea = 'message' name > < / textarea >

< /p >

< p >

< label for = "uploaded_file" > select a file to download: < / label > < br >

< input type = "file" name = "uploaded_file" >

< /p >

< input type = "submit" value = "Submit" name = "submit" >

< / make >

< script language = "JavaScript" >

For the validation of the code of

/ / Visit http://www.JavaScript-coder.com/HTML-form/JavaScript-form-validation.p html

For more information

var frmvalidator = new Validator ("email_form_with_php");

frmvalidator.addValidation ("name", "req", "Please enter your name");

frmvalidator.addValidation ("email", "req", "Please enter your email address");

frmvalidator.addValidation ("email", "email", "Please enter a valid email address");

< /script >

< noscript >

< small > < a href =' ml http://www.html-Form-Guide.com/email-Form/php-email-Form-Attachment.HT '

> How to attach the file to email in PHP < /a > article page. < / small >

< / noscript >

< / body >

< / html >

-END SEND FORM-> > > > > > > > > > > > > > > > > > > > >

-FORM BEGINNING-> ACTION > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

<? PHP

require_once ('recaptchalib.php');

$privatekey = "6LfwwsISAAAAAAPShkJ6nV3qkgLDHCe2uXj9RTWw";

$resp = recaptcha_check_answer ($privatekey,

$_SERVER ['REMOTE_ADDR'],

$_POST ["recaptcha_challenge_field"],

$_POST ["recaptcha_response_field"]);

if (! $resp-> is_valid) {}

die ("the reCAPTCHA has not been entered correctly. Go back and try again. ».

         "");

  }

{else}

include_once ('Mail.php');

include_once('Mail/MIME.php');

$errors = ";

$max_allowed_file_size = 10000000; size in KB

$allowed_extensions is array ("jpg", "jpeg", "gif", "bmp");.

$upload_folder = "files /';"

$name_of_uploaded_file = basename($_FILES['uploaded_file']['name']).

$type_of_uploaded_file = substr ($name_of_uploaded_file,)

                                                                                      strrpos($name_of_uploaded_file, '.') + 1);

$size_of_uploaded_file = $_FILES ['uploaded_file'] ['size'] / 1024;

if($size_of_uploaded_file > $max_allowed_file_size)

            {

$errors. = "\n file size must be less than $max_allowed_file_size";

            }

$allowed_ext = false;

for ($i = 0; $i < sizeof ($allowed_extensions); $i ++)

            {

if (strcasecmp($allowed_extensions[$i],$type_of_uploaded_file) == 0)

                        {

$allowed_ext = true;                

                        }

            }

if(!$allowed_ext)

            {

$errors. is "\n the loaded file only is not supported file type.".

"Only the following file types are supported:".implode(',',$allowed_extensions); "

            }

if (empty ($errors))

            {

$path_of_uploaded_file = $upload_folder. $name_of_uploaded_file;

$tmp_path = $_FILES ['uploaded_file'] ['tmp_name'];

if (is_uploaded_file ($tmp_path))

                        {

if (! copy($tmp_path,$path_of_uploaded_file))

                            {

$errors. = "\n error during the copy of the downloaded file";

                            }

                        }

$Business = Trim (stripslashes($_POST['Business']));

$ProfessionalSports = Trim (stripslashes($_POST['ProfessionalSports']));

$Humor101 = Trim (stripslashes($_POST['Humor101']));

$CollegeSports = Trim (stripslashes($_POST['CollegeSports']));

$Politics = Trim (stripslashes($_POST['Politics']));

$EmailToBusiness = $Business. "@collegestudentvoice.net";

$EmailToProfessionalSports = $ProfessionalSports. "@collegestudentvoice.net";

$EmailToHumor101 = $Humor101. "" @collegestudentvoice.net ";

$EmailToCollegeSports = $CollegeSports. "[email protected]"; "

$EmailToPolitics = $Politics. "@collegestudentvoice.net";

$EmailTo = "[email protected]"; ""

$EMailSubject = Trim (stripslashes($_POST['Subject']));

$First = Trim (stripslashes($_POST['First']));

$Last = Trim (stripslashes($_POST['Last']));

$Email = Trim (stripslashes($_POST['Email']));

$Suggestions = Trim (stripslashes($_POST['Suggestions']));

$Body = "was filled the following form;

                        $Body. = "\n";

                        $Body .= "-------------------------------------------------------------------- -------------";

                        $Body. = "\n";

                        $Body. = "\n";

$Body. = ' First name: '; "

                        $Body. = $First;

                        $Body. = "\n";

$Body. = ' last name: '; "

                        $Body. = $Last;

                        $Body. = "\n";

                        $Body. = "email:";

                        $Body. = $Email;

                        $Body. = "\n";

$Body. = ' business: '; "

$Body. = $Business;

                        $Body. = "\n";

$Body. = "Professional sports: «;»»

$Body. = $ProfessionalSports;

                        $Body. = "\n";

$Body. = ' humor 101: '; "

$Body. = $Humor101;

                        $Body. = "\n";

$Body. = "College sports: «;»»

$Body. = $CollegeSports;

                        $Body. = "\n";

$Body. = ' policy: '; "

$Body. = $Politics;

                        $Body. = "\n";

$Body. = ' suggestions: «;»»

$Body. = $Suggestions;

                        $Body. = "\n";

                        $Body. = "\n";

                        $Body .= "-------------------------------------------------------------------- -------------\n";

//$Body. = "e-mails sent to:". "." $EmailToBusiness. « / ». $EmailToProfessionalSports. « / ». $EmailToHumor101. « / ». $EmailToCollegeSports. « / ». $EmailToPolitics. « » ;

$to = "[email protected]"; ""

$subject = $EMailSubject;

$from = "[email protected]"; ""

                        $text = "\n $Body";

$message = new Mail_mime();

$message-> setTXTBody ($text);

$message-> addAttachment ($path_of_uploaded_file);

$body = $message-> get();

$extraheaders = array ('From' = > $from, 'Topic' = > $subject, "Reply-To" = > $Email);

$headers = $message-> headers ($extraheaders);

$mail = Mail::factory ("mail");

$mail-> send ($à, $headers, $body);

                        If ($Business! = "")

                        {

$mail-> send (strtolower ($EmailToBusiness), $headers, $body);

                        }

if ($ProfessionalSports! = "")

                        {

$mail-> send (strtolower ($EmailToProfessionalSports), $headers, $body);

                        }

                        If ($Humor101! = "")

                        {

$mail-> send (strtolower ($EmailToHumor101), $headers, $body);

                        }

if ($CollegeSports! = "")

                        {

$mail-> send (strtolower ($EmailToCollegeSports), $headers, $body);

                        }

                        If ($Politics! = "")

                        {

$mail-> send (strtolower ($EmailToPolitics), $headers, $body);

                        }

  }

print "< meta http-equiv =-"refresh\"content =------"0; " URL = Form.php? suc = y\ "' >"; "

  }

? >

---------------------------------------------------------------------  END FORMACTION  FILE---

$Body. = "College sports: «;»»

I see a space between the College and the sport. Also, make sure that your form fields are named exactly as the names of variables.

Tags: Dreamweaver

Similar Questions

  • Values in the table are not default values

    Hi every1,

    I'm working on a VI which relates to the evolution of the points in the chart. Almost, I finished my VI but the thing is that the table of values which

    IAM using here (table Y) do not appear in the value by default when I stop the vi. When I stop and run the vi finally stored values

    Table are defined. One thing is when I click on the stop button is not key to its end. The VI only stops when the stop button goes top

    and then at the bottom. I mean to stop twice the stop button must be clicked. Here's my VI.  Help me to know my mistake here in this

    VI..........

    AAH, I guessed correctly!

    Remove the local var of the button stop & place the terminal itself inside of the while loop inside & it wire directly to the conditional from the outside while loop.

    Please see the attached picture...

  • ArraytoChannels error 'cannot be added because the channels of the target are not all the same length.

    Hello!

    After the end of my second day of test error, I put this question on the table:

    I use ArraytoChannels function to store ADO recordsets as strings. What is strange, is that for the first Recordset, it works; but for the next time through the loop, it always fails with the error message 'cannot be added because the channels of the target are not all the same length.

    I confirmed that:

    the RowData sizes and the ChannelNames are equal,

    both spend the isarray = true test,

    I change the order of the ChannelNames,.

    I have reconnected/disconnected from the oConnexion every time, nothing has changed.

    Apparently I'm missing something - but crazy to know what! -If anyone can share his opinion I'll so much appriciate. Here is my code:

    oTables = Array ("WellStates", "ChokeData", "WellParameters", "FlowData", "PumpData", "SensorsData", "ModelCalculatedData")

    Call OpenSQLConnection
    Set oRecordset = CreateObject ("ADODB. Recordset')
    Call SelectWell
    Call GetWellStateIDs

    Data.Root.Clear
    for j = 0 to ubound(oTables,1)

    sSQLSting = "select * []" & oTables (j) & "] where [WellStateID] between" & WellStateIDFirst & "and" & WellStateIDLast ".
    oRecordset.Open sSQLSting, oConnexion
    Protected oFieldNames: table: ReDim oFieldNames (orecordset. Fields.Count - 1).
    for i = 0 to orecordset. Fields.Count - 1
    oFieldNames (i) = orecordset. Fields.Item (i) .name
    next
    oArray = oRecordset.GetRows (-1, 0, oFieldNames)
    Set oGroup = Data .root .ChannelGroups .Add (oTables (j))

    oArray, oFieldNames arraytochannels
    oRecordset.close
    oConnection.Close
    next

    Sub GetWellStateIDs
    sSQLSting = "select * from [WellStates] where [wellid] =" & WellID
    oRecordset.Open sSQLSting, oConnexion
    oArray = oRecordset.GetRows)
    WellStateIDFirst = oArray (0,0)
    WellStateIDLast = oArray (0, ubound(oArray,2))
    oRecordset.close
    EndSub

    Sub OpenSQLConnection
    Set WshNetwork = CreateObject
    oComputerName = WshNetwork.ComputerName
    oDB = "MX2. Player.DB ".
    Set oConnexion = CreateObject ("ADODB. Connection")
    oProvider = "Provider = SQLOLEDB.1; Integrated Security = SSPI; PeoExecuteist Security Info = True; Data Source ='
    oProvider = oProvider & oComputerName & "\MX; Use procedure for prepare = 1; Machine translation = True; The packet size = 4096; Workstation ID ="
    oProvider = oProvider & oComputerName & " Use encryption for data = False; Tag with column collation when possible = False; Initial Catalog ='
    oProvider = oProvider & oDB
    oConnection.ConnectionString = oProvider
    oConnection.Open
    EndSub

    Another clue. If you check using DIAdem

    Microsoft Windows Script Debugger

    you are able to install the debugger in DIAdem.

    It would potentially have shown that the command does not work as expected.

    Sorry for the inconveniance

    Andreas

  • For the second time in two months, all my messages in the Inbox are not there. Only the SUBJECT and the FROM is left. Tried to 'fix this folder' and lost ALL

    For the second time in two months, all my messages in the Inbox are not there. Only the SUBJECT and the FROM is left.

    Tried to 'fix this folder' and ALL - lost ALL the Inbox.

    The file is still there and works well...

    How can I stop it and what are the causes?

    Thank you all, Gabe

    If you have the file somewhere on your hard drive, export and import tools it will be important back to Thunderbird.

    https://addons.Mozilla.org/en-us/Thunderbird/addon/ImportExportTools/

    Instructions http://chrisramsden.vfast.co.uk/3_How_to_install_Add-ons_in_Thunderbird.html

  • Someone at - it encountered problems with the iPhone 6 if weak reception. the phone goes crazy on his own? I have two employees in the SoCal area having this problem. Both have updated to IOS 9.2 to see if that helped. Any advice would be great!

    the phone goes crazy on his own? I have two employees in the SoCal area having this problem. Both have updated to IOS 9.2 and on the Verizon network. Any advice would be great! «The phone cut, connects during a call to Conference of someone else in (the phone chooses who to call), it basically starts random on the phone stock selection as if someone is trying to use it.»  It puts not only calls on mute.  The keyboard for contacts has been absent for a while, but is now back. "That's what they live. We tried to reset hard phones, the last option that we have not yet tried is wipe it off and start over, but I don't see that as a solution, since one is nine and the other is about 6 months with the same problems accurate.

    Hello FergusonChris,

    Thank you for using communities of Apple Support.

    I understand that your business has iPhones whose screens are behaving erratically.  Given your description of the issue, it seems that the screen may be dirty or there is the screen protector/case that interferes with the screen.  To further support this issue, please see the link below.

    If the screen of your iPhone, iPad or iPod touch does not respond to touch

    Take care.

  • I'm trying to download the free track of After effects.  Keep the error message and get the ' we are currently experiencing some issues, please try again later. " If the problem persists, contact customer service. »

    I'm trying to download the free track of After effects.  Keep the error message and get the ' we are currently experiencing some issues, please try again later. " If the problem persists, contact customer support. "what I'm doing. I have tried for 2 hours and need to complete course work.

    you use the cc desktop app to download?

    If not, https://creative.adobe.com/products/creative-cloud

  • Looking for some practice files for video in line/book of "Adobe Photoshop CS5 Extended: Essentials. I use the tutorial via membership in Safari book online and the files are not available on Safari.  Do you know where I can get the files?

    Looking for some practice files for video in line/book of "Adobe Photoshop CS5 Extended: Essentials. I use the tutorial via membership in Safari book online and the files are not available on Safari.  Do you know where I can get the files?

    Looks like the manufacturer was "Total Training. I can't find the title to Adobe.com

    http://totaltraining.com/store/Photoshop-CS5-extended-Essentials/

  • Why the titles are not saved with the project? Where are they?

    CS5 PC.

    Why the titles are not saved with the project? Where are they? I can save them with the project?

    You can also configure a project basis including all titles.  When it's time to start a new project, open the template and change the name before starting to work.  In this way all the foundations are in place without having to implement the project with these basics every time.

  • Contact form created a PHP error when you publish the site

    Hello

    I used the feature form of Muse and then edited the look of it. When I published the site using the FTP option, I kept getting an error that says something about not being able to support something about PHP. Sorry, can't remember the exact error message.

    When I deleted the form, the site has published very well.

    Any ideas?

    Thank you

    Jane

    As long as the form on your site no - BC works and send emails, you can ignore this warning message. It's just that forms require PHP work on third-party servers and Muse is trying to verify compatibility PHP on your server during the postback.

    If the forms on your website do not work as expected, please see the following guide - http://forums.adobe.com/docs/DOC-3581.

    Thank you

    Vinayak

  • How to make the sum of the two values in the text boxes?

    Hi people,
    Am a beginner in oracle 9i with forms 6i forms.using. I want to add two values in two text boxes and the result should be displayed in the third text box.
    How to write code in when the button is pressed the trigger of a push button? pls suggest me.

    Concerning
    VIDS

    I have not problem
    Better you recreate the new form

    Block3
    1 button
    2. item1
    3 item2
    4 point 3.

    every article must be in a canvas

    what button to trigger
    writing and code test it again.

    give point 1 only
    give point 2 only
    Now press the button
    output should on the 3rd point.

    Check and return back.

    Iqbal

  • How to exchange the two values in the same column by using the UPDATE?

    Hi all

    I have a table named TEST, and it has a column called A.

    and has values as follows:

    A
    ------
    10
    20
    30
    40
    50

    My question is how to move '10' instead of '20' and '20' instead of '10' in the column? This permutation is only for the first two values (10, 20)

    Note: Must be only in SQL, not in PLSQL.

    Any advice?

    Thanks in advance?

    Update
    test
    the value a = decode(a,10,20,20,10,a);

    Alexander gelin
    http://nimishgarg.blogspot.com/

  • Displays two values in the column with the concatenation of good

    I have a query Select col1 | ' >' || col2 from table1.

    For example: the table below has the records.

    Col1 Col2
    Orange color
    red color
    White color
    Yellow color

    Result of: existing query
    Orange > color
    Red > color
    White > color
    Yellow > color

    But I want to display two columns in the order appropriate as the below one.
    Veuileez note that all the the first character of the col2 must start the position of sampe in a row.

    Orange > > color
    Red > > > > color
    White > > > color
    Yellow > > > color

    Hello
    Knowing the value that should be completed when running...

    SQL>  with tab as
      2   (select 'Orange' Col1, 'color' Col2 from dual union all
      3   select 'red' , 'color' from dual union all
      4   select 'White' , 'color' from dual union all
      5   select 'Yellow' , 'color' from dual)
      6   Select RPAD(col1,(select max(length(col1)) +1
      7   from tab),chr(32))||chr(9) ||col2 data
      8   from tab;
    
    DATA
    --------------------------------------------------------------
    Orange  color
    red     color
    White   color
    Yellow  color
    

    Twinkle

  • Value of the element are clear when I joined the document,

    Hi friends,


    I created a form and I have two reports on the same page. First of all is the list of all the Document, and the second is the list of all the attached Document.

    first of all, I have to fill out all the information to the point after that I have have attached the report document, when I attach the document then attached document come in two second report.

    Problem is when I filled all the points with value and atcchted document page is update then all value elements are clear.
    I don't want the value of the items when I joined the paper.

    Another problem is I m facing this page, if I refresh the page then a single document is automatically attached or add in the second rerpot.

    My workspace details

    Workspace: IMPROVE THE SKILLS
    User: [email protected]
    Password: desomu

    Application No.: 42370
    Page no. 4


    How can I attached document with clear.


    Thank you.

    Ok

    See the page now.

    'Fixing' your link on the list of the documents was not submit the page, he called to a URL that has just passed the value selected in the FILE_OBJ_ID.

    I've changed that to call a javascript function called addAttachment having set the value of a new hidden page element called P4_FILE_OBJ_ID and then the page submitted. All entries for the other entry points are saved then as well. I moved the process that adds the file selected in the table DUMY_SELECTED_ATTCH_FILE to work on submit it instead of loading the page. I also updated the list of documents in order to exclude items that have already been picked - unless you want duplicates?

    Another thing that you should consider...

    If you have multiple users doing so at the same time, the DUMY_SELECTED_ATTCH_FILE will contain documents for all THE users, so all users send the same accessories. You should consider adding a username column in the DUMY_SELECTED_ATTCH_FILE table and assign to this v ('APP_USER') so that you can identify the files selected by the current user only

    Andy

  • Error: the translators are not loaded due to errors

    Whenever I use Dreamweaver CS3, I get the following error message will appear:

    "The following translators were not loaded due to errors: Spry.htm: has configuration information that is invalid.".

    I tried to rename the configuration in C:\Program Files\Adobe\Adobe Dreamweaver CS3 folder, then Dreamweaver would not work, so I changed it the original name. I have NOT used any framework spry for the validation of the form.

    -Patty

    [email protected] wrote:
    > When I use Dreamweaver CS3, I get the following error pop
    > to the top:
    >
    > "The following translators were not loaded due to errors: Spry.htm: has '.
    > the configuration information that is invalid. »

    http://www.Adobe.com/go/tn_19105

    Troubleshooting step 4 normally does the trick.

    --
    Adobe Community Expert David Powers
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Value of items that are not be rendered on the page of reconciliation. (Their State has not been reached)

    Hi guys,.

    I'm using the theme of the apex 4.2.6 26.

    I have on my page, items that have a disease. The value of my item must be some value of the condition must be completed otherwise, they make on the page. (I mean any type of Condition)

    I want to do a process (or something) that will be clear all stored values of elements that constitutes the condition is not satisfied. When? When my page loads.

    Is it still possible?

    Para wrote:

    Hi guys,.

    I'm using the theme of the apex 4.2.6 26.

    I have on my page, items that have a disease. The value of my item must be some value of the condition must be completed otherwise, they make on the page. (I mean any type of Condition)

    I want to do a process (or something) that will be clear all stored values of elements that constitutes the condition is not satisfied. When? When my page loads.

    Is it still possible?

    Create a process On Load - before header that erases the conditional elements based on the extraction and assess the State of the item's metadata in the APEX_APPLICATION_PAGE_ITEMS view:

    begin
    
      for unrendered_item in (
        select
            item_name
          , condition_type
          , condition_expression1
          , condition_expression2
        from
            apex_application_page_items
        where
            application_id = :app_id
        and page_id = :app_page_id
        and condition_type_code = 'VAL_OF_ITEM_IN_COND_EQ_COND2'
        and not (apex_util.get_session_state(condition_expression1) = condition_expression2))
      loop
        apex_debug.message(
            '...clearing session state value "' || apex_util.get_session_state(unrendered_item.item_name)
          || '" for item ' || unrendered_item.item_name
          || ' as condition of type "' || unrendered_item.condition_type
          || '" with Expression 1 = "' || unrendered_item.condition_expression1
          || '" and Expression 2 = "' || unrendered_item.condition_expression2 || '" failed.');
        apex_util.set_session_state(unrendered_item.item_name, null);
      end loop;
    
    end;
    

Maybe you are looking for