Consultor Eletrônico



Kbase P63114: Variable value of a text input field gets truncated after space in WebSpeed
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

SYMPTOM(s):

Variable value of a text input field gets truncated after space in WebSpeed

In <input type="text" size="4" name="Qty" VALUE=`xDefVal`> the `xDefVal` with a value '12 34' will be truncated to '12'.

CAUSE:

When using a SpeedScript value in a HTML text field the variable has to be used in quotes.

FIX:

Set the SpeedScript variable in quotes. E.g.
change:
VALUE=`xDefVal`
to
VALUE="`xDefVal`"

An example can seen in the Notes.