[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] Smart Forms



I don't claim to be much of an HTML programmer, but I thought it might
help you out if I included some code we use for our parameter pages.

One thing that jumps out for me are that your 
<WS:ParameterInputCond hasValue="yes">, whereas mine says
<WS:ParameterInputCond hasValue="6">

Hope this helps!

Lance D. Munger
720/364-4721

<strong><font color="#000000" size="2" face="Arial, Helvetica,
sans-serif">Select International Indicator(s):</font></strong><br>
<WS:ParameterInputCond hasValue="6">
<!-- next is the control used to display the input parameter-->
<!--Presentation Style for this parameter is List Box-->
<WS:InitializeParameterPickList/>
<!--This Parameter allows multiple selection-->
<SELECT NAME="<WS:ParameterFieldName/>" multiple size="3"
style="border:1px #818181 solid; height: 100px; width: 248;">
<option value="------- NONE SELECTED -------" selected>------- NONE
SELECTED -------</option>
<WS:RequiredParameterCond hasValue="no">
</WS:RequiredParameterCond>
<WS:ParameterPickListLoop>
<OPTION VALUE="<WS:ParameterPickListValue/>"
<WS:ParameterPickListValueSelected selectType="select"/>>
<WS:ParameterPickListValue/> </OPTION>
</WS:ParameterPickListLoop>
</SELECT>
</WS:ParameterInputCond> <br>

-----Original Message-----
From: sqr-users-bounces+lance.munger=tq3navigant.com@sqrug.org
[mailto:sqr-users-bounces+lance.munger=tq3navigant.com@sqrug.org] On
Behalf Of tam kag
Sent: Wednesday, March 30, 2005 9:43 AM
To: sqr-users@sqrug.org
Subject: [sqr-users] Smart Forms

Hello,

I'm developing a custome parameter screen for an SQR job using 
ONE/SmartForms.

the Pick List on the screen should bring values from a database table,
I'm 
sure that nothing is wrong with the SQL that brings the data. and I
think 
that the problem is these code lines.

<WS:ParameterPickListCond hasValue="yes">
      <SELECT name="<WS:ParameterFieldName/>">
              <WS:InitializeParameterPickList/>
                <script language="JavaScript">
                <WS:ParameterPickListLoop>
                                          
<OPTION><WS:ParameterPickListValue/></OPTION>
                </WS:ParameterPickListLoop>
        </script>
       </SELECT>
       </WS:ParameterPickListCond>
</WS:ParameterInputCond>

Thank you

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users