Jump to content

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

Recommended Posts

Posted

I am trying to determine if a search field on a form has a value after it is submited.

I have used:

[FMP-If: TicketN .gt. 0 ]

this does not seam to do it.

Posted

",,,a search field on a form has a value after..."

Not quite following what you are trying to accomplish. If the search won't happen without something in that field, then you should get an error if the field was empty. If a search is being performed on multiple fields, but a client is able to leave one of those fields blank and still perform the search, is that what you desire? If not, control the client input with JavaScript.

If you are trying to display certain data based on a field containing a data bit or being empty, you may want to use .cn.

If you are trying to dispaly certain data based on a field containing a specific value you may want to use .eq. or .neq.

If you are just curious about what data is being submitted for the search then you can go to the db file and select "Modify Last Find".

Posted

if one (ticket #) of the four search fields has a value in it, the I will display the results different from any other search combination.

so if ticket# is gt zero... resultA, else resultB

Posted

"I have used:

[FMP-If: TicketN .gt. 0 ]"

If there are four search fields, they cannot all be named TicketN.

See your CDMLRD under the Replacement tag [FMP-If], and for help with this syntax look for "Text or numeric comparisons depending on field type" under "First parameter...".

This topic is 7916 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.