JMH
07-14-2000, 01:14 PM
I am trying to build a filter for an omniform form, it looks easy because
it is a tagged language but I seem to be stuck. I am trying to get values
from the form and saving them to a text file.
I am trying to get the fillable field values only.
I.E filltext, circletext, checkbox values, etc..)
Thanks
Here are some example lines I have to parse and save to text file:
[Example line for regular text box]
<TEXT X=25400 Y=58282 W=15875 H=6350 VALIGN=BOTTOM TM=330 LM=330 BM=330 RM=330>
Address:
</TEXT>
<FILLTEXT NAME="Address" X=41275 Y=58282 W=149225 H=6350 VALUE="Value+for+textbox+here"
FIELDTYPE=ADDRESS OVERRIDE=1 NEXTTAB="City" VALIGN=MIDDLE TM=330 LM=330 BM=330
RM=330>
[Example line for a comb]
<TEXT X=111125 Y=83682 W=25400 H=6350 VALIGN=BOTTOM TM=330 LM=330 BM=330
RM=330>
Fax Number:
</TEXT>
<COMB NAME="Fax Number" X=136525 Y=83682 W=53975 H=6350 BGCLEAR=0 FIELDTYPE=PHONENUMBER
OVERRIDE=1 NEXTTAB="Table1">
<CE PREFILL=1 W=3000 BDSIDES=B VALIGN=MIDDLE TM=330 LM=330 BM=330 RM=330>
[Example line for a table cell]
<CELL>
<FILLTEXT NAME="Description1" BDSIDES=TLBR
VALUE="value+for+cell+of+table+here" OVERRIDE=1 VALIGN=TOP TM=330 LM=330
BM=330 RM=330>
</CELL>
[Example line for a checkbox]
<CHECKBOX NAME="Receive our next catalog" X=51856 Y=213857 W=4137 H=4383
ONVALUE="1" OFFVALUE="0" VALUE="1" OVERRIDE=1 NEXTTAB="Receive more information">
it is a tagged language but I seem to be stuck. I am trying to get values
from the form and saving them to a text file.
I am trying to get the fillable field values only.
I.E filltext, circletext, checkbox values, etc..)
Thanks
Here are some example lines I have to parse and save to text file:
[Example line for regular text box]
<TEXT X=25400 Y=58282 W=15875 H=6350 VALIGN=BOTTOM TM=330 LM=330 BM=330 RM=330>
Address:
</TEXT>
<FILLTEXT NAME="Address" X=41275 Y=58282 W=149225 H=6350 VALUE="Value+for+textbox+here"
FIELDTYPE=ADDRESS OVERRIDE=1 NEXTTAB="City" VALIGN=MIDDLE TM=330 LM=330 BM=330
RM=330>
[Example line for a comb]
<TEXT X=111125 Y=83682 W=25400 H=6350 VALIGN=BOTTOM TM=330 LM=330 BM=330
RM=330>
Fax Number:
</TEXT>
<COMB NAME="Fax Number" X=136525 Y=83682 W=53975 H=6350 BGCLEAR=0 FIELDTYPE=PHONENUMBER
OVERRIDE=1 NEXTTAB="Table1">
<CE PREFILL=1 W=3000 BDSIDES=B VALIGN=MIDDLE TM=330 LM=330 BM=330 RM=330>
[Example line for a table cell]
<CELL>
<FILLTEXT NAME="Description1" BDSIDES=TLBR
VALUE="value+for+cell+of+table+here" OVERRIDE=1 VALIGN=TOP TM=330 LM=330
BM=330 RM=330>
</CELL>
[Example line for a checkbox]
<CHECKBOX NAME="Receive our next catalog" X=51856 Y=213857 W=4137 H=4383
ONVALUE="1" OFFVALUE="0" VALUE="1" OVERRIDE=1 NEXTTAB="Receive more information">