I have a form that has multiple sign box's. There is the one for the Patient to sign that has the date automatically showing(I've got it working with a global from previous entry). Then I have another sign box below that one for if Patient is unable to sign.
What I want to do is have the date(B) to refer to a previous entry with correct date(A), unless there is information inputed into another field(D), then Field "B" should be blank and Field "C" will have the referance to "A".
Form Example:
Date(A):_____
Patient Signature:___________________Date(B):_____
Representative Signature:_________________________Date(C):_____
Representative Name(D):_________________________
I hope this is enough information in the right format to get the answer to this problem. Thank you.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
There are probably a number of ways that you could approach this.
While I would normally try and keep the script in one object/event, here I am going to recommend a small script in the calculate events of dateB and dateC.
dateB calculate event:
if (repName.rawValue === null)
{
this.rawValue = dateA.rawValue;
}
else
{
this.rawValue = null;
}
dateC calculate event:
if (repName.rawValue !== null)
{
this.rawValue = dateA.rawValue;
}
else
{
this.rawValue = null;
}
Hope that helps,
Niall
Views
Replies
Total Likes
Hi,
There are probably a number of ways that you could approach this.
While I would normally try and keep the script in one object/event, here I am going to recommend a small script in the calculate events of dateB and dateC.
dateB calculate event:
if (repName.rawValue === null)
{
this.rawValue = dateA.rawValue;
}
else
{
this.rawValue = null;
}
dateC calculate event:
if (repName.rawValue !== null)
{
this.rawValue = dateA.rawValue;
}
else
{
this.rawValue = null;
}
Hope that helps,
Niall
Views
Replies
Total Likes
That's what I needed. Thanks to everyone on these boards. I'm able to get this form just the way I wanted it with everyones help.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies