View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
There's no version 2.19c, so I assume that you are referring to 1.29c.  The problem is in the hidden field.  The values of all attributes must be enclosed in quotes:
<input type="hidden" name="partno" value="<<part_no>>">
Also, I notice that you are using single quotes in other places:
<input type='submit' name='boption' value='    Cancel   '>
This works in most browsers, but it's incorrect and may cause problems.  You must always use double quotes:
<input type="submit" name="boption" value="    Cancel   ">

FoxWeb Support Team email

Sent by on 06/29/2006 11:43:00 PM:
Currently i am using FoxWeb 2.19C.I am having problem in retrieving value from a field using formfield function. The value has space in between, for example, AOL-1837-01 REV B. Whenever i retrieve the value using formfield function, it shows only AOL-1837-01 and truncated REV B.
Below is my code and appreciate if someone could help me.
FROM .PRG - Below is how i tried to retrieve the value from partno field
part_no = padr(allt(upper(allt(formfield("partno")))),25,' ')
FROM HTML - To Display part_no But it truncated "REV B"
<input type="hidden" name="partno" value=<<part_no>>>
<table border=0 cellpadding=0 cellspacing=0 bgcolor="#99cccc" width="95%">
       <td nowrap><b>Part Number.</b></td>
       <td colspan="2"><<part_no>></td>
       <td><input type='submit' name='boption' value='    Cancel   '></td>
Thanks in advance.