Here’s my scenario:
I have session based authentication enabled.
1.) Instead of the normal submit button that is generated, I want to replace it with an image. I’ll create an action hotspot - is there anything else I need to put in the code besides:
@Command([FileSave]);
@Command([CloseWindow])
??
2.) Once the user enters their username and password, we want to redirect them to a specific database. The path to their database includes their username, so it’s http://domain.com/USERNAME/db.nsf.
I have the normal RedirectTo Field that comes standard on the logon form, and I’ve added the “ReallyRedirectTo” field, which contains:
“http://domain.com/” + Username + “/db.nsf”
Seems simple enough, except the username is not getting populated! I’ve even tried this with just the simple automatically generated submit button. The path that the brower tries to pull up ends up being:
It leaves out the username entirely. We have the logon form set to accept parameters, so we can pass in the username and password in the URL when the users access the form (and thus the fields are pre-populated). When we pass in the parameters, everything works fine, presumably because the “Username” field is populated. But if the user goes to the base logon form and enters their username and password directly, then for some reason the Username field just isn’t getting set by the time the ReallyRedirectTo field tries to pull the value from it.
Any suggestions?
Thanks!
Jon