Author Topic: validiation in Text prompt  (Read 523 times)

Offline Srik

  • Senior Member
  • ****
  • Posts: 71
  • Forum Citizenship: +0/-0
validiation in Text prompt
« on: 26 May 2006 05:51:22 am »
Hello everyone,

I have a Text prompt ( optinal ) where user enters a value(alpha-numeric) if number is available in table  it shows up with values in the report.

But the requirement is that when user enters value in text prompt.

1. If the value enter is not in database table it should display or pop up  as "Invalid " in the report page.


Please help me if some one came across this kind of validation.


Thanks
kanth
« Last Edit: 26 May 2006 07:00:59 am by kanth »

Offline JGirl

  • Community Leader
  • *****
  • Posts: 153
  • Forum Citizenship: +13/-1
Re: validiation in Text prompt
« Reply #1 on: 26 May 2006 09:34:10 am »
Does the prompt have to be a text prompt?

Maybe try using a 'select and search' prompt, with the prompt being populated from a database query so that only the records in the database are available for selection?

J

Offline Srik

  • Senior Member
  • ****
  • Posts: 71
  • Forum Citizenship: +0/-0
Re: validiation in Text prompt
« Reply #2 on: 26 May 2006 07:22:14 pm »
I can try with your option but what happens when user enters invalid number ?
Then it should display invalid number in the report.

Offline joshua

  • Associate
  • **
  • Posts: 1
  • Forum Citizenship: +0/-0
Re: validiation in Text prompt
« Reply #3 on: 31 May 2006 02:42:35 pm »
If you populate the prompt from a db query the prompt only shows valid numbers. So the user will not be able to select any invalid numbers. Problem solved ;)