Discussions

Tag Filter:
So this is the code that is populating my text box for the current user on the page <div class="xmp-form-row"> <Label CssClass="xmp-form-label NormalBold" For="pod_user"> Updated By </Label> <TextBox Id="pod_user" DataField="pod_user" Nullable="false" DataType="string" Visible="true" Value='[[User:DisplayName]]' ReadOnly="true"> </TextBox> </div> this is the code that is pushing the data to the st
I am new to DNN, and have inherited an old site. I have managed to upgrade this in a test server to 9.1.1 from 7.2, and I need to add some new functionality to some pages, one of which is to add the username and updated date to a database table via html. Does anyone have a code snippet they could share in order to help with this, I have tried various code's but theu either fail with an error or do
I have some html code [code] <div class="xmp-form-row"> <Label CssClass="xmp-form-label label NormalBold" For="pod_datum"> Updated Date </Label> <DateInput Id="pod_datum" DataField="pod_datum" Nullable="false" DateOnly="true" DataType="date" Visible="true" Value='[[DateAdd:0,d,MM/dd/yyyy]]' ReadOnly="true"></DateInput> </div> [/code] This give me the current date, however when I pass this to SQL I