<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to write a HTML 'form' &amp; css code in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-write-a-HTML-form-css-code/m-p/84427#M9069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write a HTML 'form' code for one variable &amp;amp; CSS styles also ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2012 11:49:49 GMT</pubDate>
    <dc:creator>Grandhi4</dc:creator>
    <dc:date>2012-06-15T11:49:49Z</dc:date>
    <item>
      <title>How to write a HTML 'form' &amp; css code</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-write-a-HTML-form-css-code/m-p/84427#M9069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to write a HTML 'form' code for one variable &amp;amp; CSS styles also ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 11:49:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-write-a-HTML-form-css-code/m-p/84427#M9069</guid>
      <dc:creator>Grandhi4</dc:creator>
      <dc:date>2012-06-15T11:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a HTML 'form' &amp; css code</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-write-a-HTML-form-css-code/m-p/84428#M9070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this code....Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create this stored process and then open SAS SPWA and execute and see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*ProcessBody;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%STPBEGIN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPTIONS VALIDVARNAME=ANY;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;nbsp; End EG generated code (do not edit this line);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%global category;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS LISTING CLOSE;&lt;/P&gt;&lt;P&gt;ods html body=_webout (no_bottom_matter) style=seaside;&lt;/P&gt;&lt;P&gt;ods html close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp; create table test as select distinct name from sashelp.class;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; file _webout;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if _n_ = 1 then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thissrv = symget('_url');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thispgm = symget('_program');&lt;/P&gt;&lt;P&gt;&amp;nbsp; put '&amp;lt;FORM ACTION="'&amp;nbsp; thissrv +(-1) '" method=get&amp;gt;';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put '&amp;lt;input type="hidden" name="_program" value="'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thispgm +(-1) '"&amp;gt;';&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; put 'Please Select name:&amp;nbsp;&amp;nbsp;&amp;lt;select class="button" onchange="submit()" onload="submit()" name="category" style="width=200px" size="1" &amp;gt;';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; file _webout;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set work.test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; put "&amp;lt;option value='" name +(-1) "'";&lt;/P&gt;&lt;P&gt;&amp;nbsp; if ("&amp;amp;category" eq name) THEN put " selected";&lt;/P&gt;&lt;P&gt;&amp;nbsp; put " &amp;gt;" name +(-1) "&amp;lt;/option&amp;gt;";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; file _webout;&lt;/P&gt;&lt;P&gt;&amp;nbsp; put '&amp;lt;/select&amp;gt;';&lt;/P&gt;&lt;P&gt;&amp;nbsp; put '&amp;lt;/form&amp;gt;';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods html body=_webout (no_top_matter) path=&amp;amp;_tmpcat (url=&amp;amp;_replay) style=seaside;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC print DATA=sashelp.class(where=(name="&amp;amp;category"));run;&lt;/P&gt;&lt;P&gt;ods html close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;nbsp; Begin EG generated code (do not edit this line);&lt;/P&gt;&lt;P&gt;;*';*";*/;quit;&lt;/P&gt;&lt;P&gt;%STPEND;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 14:00:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-write-a-HTML-form-css-code/m-p/84428#M9070</guid>
      <dc:creator>shivas</dc:creator>
      <dc:date>2012-06-15T14:00:03Z</dc:date>
    </item>
  </channel>
</rss>

