Reputation: 812
I have created a custom page item 'tot_credit' to get correct alignment below my tabular form report, using the below code . ,it is written in the region 'footer text'.But I am unable to access this item 'tot_credit' inside my page process(pl/sql code). It is accessible in java script code. what is the solution?
<table>
<tr>
<label>Total Credit</label> <input type="text" style="text-align:right;width:120px" name="tot_credit" id="tot_credit" >
</tr>
</table>
Upvotes: 0
Views: 1090
Reputation: 60262
You can't access the item in PL/SQL because you have not defined the item in Apex. You need to define it as an Apex page item, instead of just writing the raw HTML for it.
Upvotes: 1
Reputation: 163
You are probably not able to access it as the item is declared in page footer, and your pl/sql code is defined before the item declaration. Either moving the item declaration upwards on the page, or defining the pl/sql code in page footer - one of these two should solve your problem.
Upvotes: 0