DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Username and current datetime in HTML code

 12 Replies
 2 Subscribed to this topic
 28 Subscribed to this forum
Sort:
Page 2 of 2 << < 12
Author
Messages
Growing Member
Posts: 58
Growing Member

So this is the code that is populating my text box for the current user on the page

[code]

 


   
   
   

[/code]

this is the code that is pushing the data to the stored procedure.

[code]

[/code]

the stored proc has UpdatedBy as the second to last value coming in, this in turn is included in an update statement to update the columns of the database table with the user name.

I can see the user name in the textbox on the form, but dammed if I know why this is the only filed that does not go through.

No errors on the dnn side, and when i run Sp manually it populates without an issue.

Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!

Jeff,

sorry, this is not readable...

You should either use "<_" and "/_>" or square brackets instead of angle brackets when posting code in this forum.

Anyway: XModPro is a third party product, so you should try to get help there. There would be no one in this community who won't be ready too help if he can (I can't, as I never used XModPro), but I guess chances are better in the forums of dnndev.

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

DNN Connect
Growing Member
Posts: 58
Growing Member

Odd, I did use [] and [/] around the code, so not sure why it went nuts.

Have managed to solve this, not quite in the way i wanted, but it works, I created a variable at the top of the form, dont add this to a text box, just send it to the stored proc code, and it updates everytime, so great.

Thanks as always for everyones help.

Page 2 of 2 << < 12

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved