Forum Discussion

meghaphophalia's avatar
meghaphophalia
Occasional Contributor
2 years ago

How to pass special charcaters in text field

I am Working on Delphi desktop application:

I have to name a field as -123#$%^abc

So I pass values with ObjName.Keys("123#$%^abc")

But on UI side after insert this it reset to only bc and insert name as bc only .

 

Can anyone suggest me how can I pass these values. Is it a matter of special case characters or what?

5 Replies

    • meghaphophalia's avatar
      meghaphophalia
      Occasional Contributor

      I checked '^' this is not inserting in name if I place it anywhere it .Is there any way to enter this '^ 'special character with other characters.

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    You might also check the requirements and see if the ^ character really needs to be allowed here. It has the potential for causing problems for the devs too.

    • meghaphophalia's avatar
      meghaphophalia
      Occasional Contributor

      yes it is required as it is a part of negative testing so