Forum Replies Created
-
AuthorPosts
-
Hi Alexander,
Found it. Just took more digging on your blog to go back to 2018.
On the new form, have to use:
spjs.vLookup.dataObj.vLookupItems[getFieldValue(“_vLookupID”)].tot
OR
spjs.vLookup.dataObj[fin][getFieldValue(“_vLookupID”)].tothttps://spjsblog.com/forums/topic/totals-row/
Since this is preventing the vLookup from refreshing, on new, will there be plan for a patch?
Or since its our choice to use the custom callback code, we just need to be aware that we need two different things for new and edit.Thanks for All the help!
Hi Alexander,
I looked into the vLookupIsLoadedCallback and It seems that it works fine unti spjs.dffs.data.thisItemID
Any ideas why this would return as an empty string in the new form?
I was using the functions from a previous post to Total and set a field.
function vLookupIsLoadedCallback(fin){ if(fin === "vLookupItems"){ //Get Total from vLookup ceiling, if not active dont run at all var vLookupTotal1 = spjs.vLookup.dataObj["vLookupItems"][spjs.dffs.data.thisItemID].tot["Cost"]; setFieldValue('TotalCost',translateNumberToCurrency(vLookupTotal1)); }}
Attachments:
I would note that I have changed the vLookup connections a number of time with no change. I originally had it set up with the _vLookupID and _vLookupPurchaseID and I also did Title Equals Title.
All of them worked fine in Edit. This what just the last thing I tried.
Let me know if you need anything else.
Here you go.
Attachments:
Attached is the console before the refresh. There was no change after the refresh.
I also tried to call the refresh manually.
When I tried to Refresh with the Debug open I noticed that the debug details never change, on the edit from it added details at the bottom showing the refreshed work .
Let me know what you think.
Attachments:
I’m on June 28 and I looked thought the Change log but didn’t see anything calling it out.
Let me know if I missed something and should update.
Attachments:
Thanks!
No I think every time would be a bit much. I was more thinking just when you save but stay in edit form. since your are basically just saving any updates but keeping the form open.
Thanks again!
TriciaWhat I put in my custom CSS seems to be working. I haven’t had any issues with it combined with your new casc file. here is the code one more time:
.dffs_req_and_tt{float:left; z-index:1;position:absolute; } .dffs_req_and_tt_wrap { display: unset!important;position:absolute}
Thanks again!
It works perfectly if I add this to the to the loader file:
.dffs_req_and_tt{float:left; z-index:1; } .dffs_req_and_tt_wrap { display: unset!important;}
Except when its in a dialog box. Then I still have some issues.
.dffs_req_and_tt{float:left; z-index:1;position:absolute; } .dffs_req_and_tt_wrap { display: unset!important;position:absolute}
I need to test it a bit more.
I was in the middle of typing this up when I saw your latest response:
I have a workaround but its not Ideal. At least I don’t require a ton of fields.
My work around is to add this in my loader:.dffs_req_and_tt{float:left; z-index:1;display: none; } .dffs_req_and_tt_wrap { display: unset;}
and then before the my HTML Heading I added:
<div class="dffs-formvalidation" style= "float:left;z-index:1;" > *</div>
Let me know about the update and as always thank you for all the help! Sorry if we took the long way to get there.
Sadly I updated it Yesterday so All those Screens shots are from the 5/10 version.
Here is the readonly after switching between tabs
Attachments:
Please see the following attachments.
The files called Cascade inspect 2 Is the goal and it reflects both changes:
.dffs_req_and_tt_wrap{display:inline block;}
and
.dffs_req_and_tt{display:none;}It seems that
.dffs_req_and_tt{display:none;}
Work fine by itself as well.
But it done not Work for Switching tabs when there is a readonly set on a Cascdading Drop down. I will post that image in the next comment.Attachments:
Yes All Fields Have heading and No labels are shown.
Its the.dffs_req_and_tt_wrap{ position:absolute; }
I have tried to push stuff out to the spjs_selected to counteract it but it won’t give.
Some testing version attached. Including ones where I unhid the field labels.Attachments:
Hi Alexander,
I also attempted the position absolute and its messed with the CCDW. See After code image.
I also recreated the Tab issues. See other images attached.
Thanks,
TriciaAttachments:
-
AuthorPosts