This topic is locked

Hide Control

8/31/2011 2:14:22 PM
ASPRunnerPro General questions
F
fenhow author

I have a control on the Add New Record page. The control is populated from a look up. The data is auto inserted based on a dependency and works fine.
I however want to hide the control from the Add New Record page but still maintain the data getting added to the control. I need to capture the information but do not want the end user to see it.
I found this code on the forum and it hides the control fine but will not save data when adding a new record. It seems the only time data is saved is when the control is visible.
{if $admin_user}
<TR>

<TD class=shade width=150>Horsepower</TD>

<TD width=250>

{build_edit_control field="Horsepower" value=$value_Horsepower mode="edit"}

</TD></TR>
{/if}
and

smarty.Add "admin_user", SESSION("UserID")="admin"
The data is on the Add new billing form, the components I am trying to capture is the rate I bill the client based on the Client selected when the user selects one. IE: Client A is selected, and Client A has a rate of $100, I need to store the $100 for that client for that day but I do not want the end user to see this.
Open to any other suggestions.
Fen

F
fenhow author 8/31/2011

PS I am using ASPRunner PRO 5.1

Sergey Kornilov admin 8/31/2011

Please post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. We'll be glad to assist.