[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



Shoo 'nuff,

You didn't include the start of the block.  If there isn't a line above 
those that says:

<WS:ParameterInputCond hasValue="[some number]">

Then that would be a problem.

The other issue is that you put your options inside a <script> tag.  You 
can use <WS:xxx> tags in javascript, but it has to look like JavaScript. 
  Get rid of <script . . .> and </script> and it should work.

Hope this helps,
Eric

P.S. You can use your browser's "show source" feature to check what is 
going on.

tam kag wrote:
> 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