Skip to Main Content
This is a BETA environment
This environment is only for testing and may be reset multiple times during the testing period. We will be frequently upgrading this BETA environment, so check back often for changes. Please assist us by providing feedback via the bug icon to the left of your profile avatar. For the current active community, visit https://community.oracle.com/tech/developers/.

a simple form query with java involved

514545Jul 6 2006
i want to have a condition here when if current client is null then it should allow us to put in first_name and last_name.. right now it doenst display that on the form,,,,
when current client is yes then it displays a search for id and then it gets name from that id,any help will be welcome....

proc_face$.formFieldOpen('Current Client?',false,'');
if rec.current_client = 'Y' then
htp.p('<input type="radio" name="P_CURRENT_CLIENT" value="Y" checked onClick="showSection(this,''sec1'');">Yes');
htp.p('<input type="radio" '||h_disabled||' name="P_CURRENT_CLIENT" value="N" onClick="hideSection(this,''sec1'');">No');
elsif rec.current_client = 'N' then

htp.p('<input type="radio" '||h_disabled||' name="P_CURRENT_CLIENT" value="Y" onClick="showSection(this,''sec1'');">Yes');
htp.p('<input type="radio" name="P_CURRENT_CLIENT" value="N" checked onClick="hideSection(this,''sec1'');">No');
else
htp.p('<input type="radio" '||h_disabled||' name="P_CURRENT_CLIENT" value="Y" onClick="showSection(this,''sec1'');">Yes');
htp.p('<input type="radio" '||h_disabled||' name="P_CURRENT_CLIENT" value="N" onClick="hideSection(this,''sec1'');">No');
end if;
proc_face$.formFieldClose;
if rec.CURRENT_CLIENT = 'Y' then

htp.p('<tbody id="sec1">');
else

htp.p('<tbody id="sec1"style="display:none">');
end if;
Comments
Post Details
Added on Jul 6 2006
0 comments
208 views