Announcement

Collapse
No announcement yet.

Problem in Auto-Complete text field.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem in Auto-Complete text field.

    Good Morning,

    I am working on Auto-Complete text field inScriptCase v6 and I have a problem. I added the auto fill option in to the search criteria which is working properly but if user writes a different product name which is not present in the database then the script-case takes that field as blank.

    --
    Milind

  • #2
    Originally posted by milind.wakale View Post
    Good Morning,

    I am working on Auto-Complete text field inScriptCase v6 and I have a problem. I added the auto fill option in to the search criteria which is working properly but if user writes a different product name which is not present in the database then the script-case takes that field as blank.

    --
    Milind
    Use the onvalidate event to decide what to do: generate an errormessage or fill the field with a default value.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Re: Problem in Auto-Complete text field.

      Hello aducom,

      Originally posted by aducom View Post
      Use the onvalidate event to decide what to do: generate an errormessage or fill the field with a default value.
      Our intention is to capture the entered value of the text field even it is not available in database, for the purpose of adding new product in database. It by default is taking NULL value.

      Comment


      • #4
        Have you set the checkbox capture text? If that's not functional you might need to find alternatives. One way is 'other' as a default option and then show a field to add the element which does not excists.
        Albert Drent
        aducom software netherlands
        scriptcase partner, reseller, support and (turn-key) development
        www.scriptcase.eu / www.scriptcase.nl

        Comment

        Working...
        X