Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3320 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

    $State = $_GET['LastName'];// ? shouldn't this be $State = $_GET("State") ?

 

The value list is being retrieved and displayed correctly; you just haven't called for the selected value in your find criteria.

 

Posted

Thanks Doughemi, I'm still not getting a result when I pick a state in my valuelist.  The query is shown in the URL, but is not displaying records on my page.  Ultimately, I'd like several different value lists and text boxes returning results on same page.  here is an updated version of my valuelistsort.php.  Thanks!

valuelistsort-new.php

Posted (edited)

You have to add troubleshooting aids to your code, at least temporarily.  You can comment them out when you go live, but all I can tell now is that the search isn't being executed. Add some code to find out why:

    $FirstName = $_GET['FirstName'];
	$LastName = $_GET['LastName'];
	$State = $_GET['State'];
    echo 'Troubleshoot:<br>' $FirstName . ' ' . $LastName . ' ' . $State;// <-- Did the variables get set?
//  <snip> ... 
$result = $request->execute();
 if(FileMaker->isError($result){//  <-- is there a problem with the request?
        echo 'Error: ' . $result->getCode() . ': ' . $result->getMessage() . '<br>';
 }

 

Edited by doughemi

This topic is 3320 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.