-
What I would do is use the datediff to calculate a field on load that is Today +5 then you can use a rule or code to validate if the entered date is greater than the calculated date.
-
Jean - Welcome to the forum!
So are you thinking about using a redirect in IIS to keep the old URL still active?
I have not tried this but I would think it might work.
I will do some research.
-
Great!
Thanks for posting the link.
-
Yah, Now going back and looking at your code you have it right.
I would try specifying a value on your assignment. Set Last Updated by to "Bob" or something to verify this functionality.
You could also add an alert on the IP field before and after too.
-
You would need to debug, I often have an Alert with my variables fire at various points to be able to track their states.
Have you verified your GetLogin() is working and set you curDate somewhere else?
-
You would need to add a field to store the state you want and then set up your sections to reference this field and act accordingly. InfoPath by default resets each time it is opened. To override this you must put in some explicit rules in the Open Rules or setup the sections to check for state and then act accordingly.
So obviously a ...
-
You have your assignments out of order.
You set your field values before you GetLogin() and currDate.
Try This...
function CmdSave::OnClick(eventObj)
{
var curDate = new Date()
sLastUpdated_by.text = GetLogin();
sLastUpdated_time.text = curDate
var sLastUpdated_by = ...
-
If you have set up a data connection and have both the source and target data fields in your data sources then you just need some rules.
Instead of selecting edit form code, select the rules button.
From there you can add rules with conditions and actions.
I am guessing you would add several actions which set a fields value. ...
-
Are you just getting the username and doing a look up?
If that is the case you can go to Tools, Form options, and then Open and Save, and Rules. Here you can add this function and a data connection query and this will be executed as the form is opened and you can take action on the results before the default view is displayed.
We also have ...
-
My first suggestion would be the way i have seen this done is have the form contain the data values, use webservices to populate a database with the data, then use SQL Reporting Services to make a webbased dashboard that displays these in real time.
A model is shown using the Database Accelerator here. http://www.qdabra.com Then you could ...