Hi All,
Is it possible to hide the presence of the standard Email Submit Button in Livecycle Designer?
Example: User cannot access EmailSubmitButton1 until a valid date has been entered in to DateTime1 field.
I have tried the presence property, with both a change event and exit event with no luck. I am assuming that since the standard Email Submit Button does not have a "click" event available, this task cannot be accomplished.
Any assistance is welcome
Solved! Go to Solution.
Views
Replies
Total Likes
Everything looks fine as foar as I can tell ....if you email the form to LIveCycle8@gmail.com I can have a look and see what is wrong. Please include a description of the issue in your email.
paul
Views
Replies
Total Likes
Yes you can change the presence of that button. First make sure that the form is saved as dynamic ....the change in presence will be ignored unless the form is dynamic. The code shoudl be on the exit of the Date field so the click event on the email button has no berring on this operation.
Hope that helps.
paul
Hi Paul,
Thank you for your response. I have saved the form as a "Dynamic XML Form", but have had no luck with the exit event you suggested. I assumed that I would need an event to initially hide the presence of button and another event, that when validated, would show the button.
I used the code below, based on your suggestion:
form1.#subform[0].currendate[1]::exit - (JavaScript, client)
if
(this.rawValue != null)
{
Button1.presence
= "hidden";
}
else
{
Button1.presence
= "visible";
}
Any Ideas?
Jeff
Views
Replies
Total Likes
Everything looks fine as foar as I can tell ....if you email the form to LIveCycle8@gmail.com I can have a look and see what is wrong. Please include a description of the issue in your email.
paul
Views
Replies
Total Likes
Hi Paul,
You were correct, the mistake was on my part. I replaced the Button1 value in the script with the correct value "SubmitButton1".
Thanks again for your assistance.
Best Regards
Jeff
Views
Replies
Total Likes
Views
Likes
Replies