› Forums › Classic DFFS › Hide save item button
- This topic has 16 replies, 2 voices, and was last updated 7 years, 12 months ago by
Alexander Bautz.
-
AuthorPosts
-
-
September 11, 2015 at 19:26 #8418
dinfante
ParticipantIn my rule, The “Hide save item button” doesn’t work on Form load. It only works when a field change happens despite what I set the “Validate on” to.
My rule is setup like this:
If this trigger “Submit to Billing” is equal to “Yes” Validate on “Form load”
The “Submit to Billing” is a drop down field with choices of Yes and No.
-
September 11, 2015 at 20:38 #8421
Alexander Bautz
KeymasterHi,
I did a quick test on the current BETA (where the trigger handling has been reworked) and it looks like it works as expected.I’m planning to release the prod version next week, and I hope you can test it to see if the rule works in this release.
Alexander
-
September 17, 2015 at 18:33 #8478
dinfante
ParticipantHey Alexander,
I got the DFFS v4.350 up and running but I’m still seeing the same issue.
It hides it initially on the first tab but when I click on the next tab(or any tab actually) it makes it visible.If this trigger “Submit to Billing” is equal to “Yes” Validate on “Form load”
-
September 18, 2015 at 21:29 #8487
dinfante
ParticipantI noticed though the hide edit button works just fine on the Display Form. I can iterate though each tab and it stays hidden.
If this trigger “Submit to Billing” is equal to “Yes” Validate on “Form load”
Hide edit item button “Checked” -
September 18, 2015 at 23:18 #8493
Alexander Bautz
KeymasterI have digged a bit more and have now fixed it. I’ll post an update during the weekend.
Thanks for you patience.
Alexander
-
September 18, 2015 at 23:20 #8494
dinfante
ParticipantThank you so much!!! 😀
-
September 20, 2015 at 09:46 #8501
Alexander Bautz
KeymasterCan you test to see if the new version fixes your problem?
Alexander
-
September 21, 2015 at 18:16 #8507
dinfante
ParticipantHey Alexander,
Thanks for getting back to me.
The hide save button on the edit form still doesn’t work. Before I updated the new code it used to be hidden on the first tab on form load (until you click another tab).
Now it’s not hidden at all.The hide edit button on the display form still works perfectly though.
-
September 22, 2015 at 18:06 #8517
Alexander Bautz
KeymasterI’m unfortunately not able to reproduce this behavior using the new version. Are you sure you don’ have another rule kicking in and unhiding it somewhere else in your rules?
Alexander
-
September 22, 2015 at 18:27 #8520
dinfante
ParticipantAh, I had another rule making some fields Read Only that was interfering with it.
If this trigger “The form is ready” “no operator”
Read-only fields “Phone” “Contact” -
September 22, 2015 at 19:04 #8529
dinfante
ParticipantI got it working with a modified rule. Thanks so much! This function helps with a major business requirement.
-
September 29, 2015 at 17:29 #8591
dinfante
ParticipantIf I wanted to hide the vlookup “Edit item link” buttons based on a rule what would I put in the “Hidden headings or elements area”. I already figured out how to hide the “add new item” link for the vlookup.
Thanks,
David
Attachments:
-
October 2, 2015 at 11:18 #8606
Alexander Bautz
KeymasterCurrently this is not possible as the “button” does not have an ID attribute. I will fix this during the weekend in an updated version of DFFS and vLookup.
Alexander
-
October 5, 2015 at 17:41 #8638
dinfante
ParticipantHey Alexander, I just downloaded the newest DFFS version this morning. I don’t see an id associated with the vlookup “Edit item link”. Were you able to get to it?
Thanks,
David
-
October 5, 2015 at 17:57 #8639
Alexander Bautz
KeymasterIf I understood you right, this is addressed – see change log:
“Hidden headings or elements”: You can use a classname to identify the item you want to hide. See help icon for details. Here is an example of hiding the View or Edit button for a vLookup column named “vLookupTasks”:
// View button .vLookupViewBtn_vLookupTasks // Edit button .vLookupEditBtn_vLookupTasks
Alexander
-
October 5, 2015 at 18:38 #8640
dinfante
ParticipantThank you so much!!! it works perfectly (I owe you more beers) Sorry I was trying to find it in the DOM using F12 on explorer and wasn’t finding the label for some reason. Also was not putting the period before .vLookupViewBtn_vLookupYardHoursTimeCards (in my case)
-
October 7, 2015 at 18:53 #8656
Alexander Bautz
KeymasterI’m glad it worked out.
Alexander
-
-
AuthorPosts
- You must be logged in to reply to this topic.