Custom Find

Archived from the Xataface Users forum.

gsilvis — Sun Jan 03, 2010 9:09 pm

I am trying to get a custom find functionality added, where I will take what the user has entered into a field on the Find form and call another website with that information to build a more complex sql query. The first step is to get what was on the Find form to the action code. I make the transition to the action with ?action=specialquery&fieldinfo=xxxx, where xxxx is what was in the field. How can the php code in my action get the fieldinfo string from the url that invoked the action?

Thanks
George


00Davo — Sun Jan 03, 2010 9:21 pm

I believe you can access fieldinfo in your PHP like this:

Code: Select all
$_GET["fieldinfo"]

Just use it as a variable, and there you go.

I don’t really know much about Xataface actions, but it should work.


gsilvis — Mon Jan 04, 2010 8:09 am

Works like a charm.
Thank you!
George