Announcement

Collapse
No announcement yet.

Problem with charachter " in a text field

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

  • Problem with charachter " in a text field

    Hi to everybody,
    i have a problem with the text field (with single line).
    I need to write a string like this
    book title "book one"
    but scriptcase doesn't insert the string.
    I tried to call with { } the string but i see only book title but not the part between " ".
    How can i solve it?

    Thanks and regards!

  • #2
    use on beforeinsert/update the statement addslashes. I.e. {myfield}=addslashes({myfields})
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Thanks for your answer.
      I solved that problem but i have another ones.
      In a select field i need to select a string with " character but, when i change the selection, it says invalid data. How can i use the addslashes() function in this case?

      Thanks and regard.

      Comment

      Working...
      X