Forum Replies Created
-
AuthorPosts
-
You can add this to your Custom CSS:
.spjs-form-choice-wrap .spjs_chk_checkmark, .spjs_radio_wrap .spjs_radio_checkmark { background-color: white; } .spjs_chk_wrap input:checked~.spjs_chk_checkmark, .spjs_radio_wrap input:checked~.spjs_radio_checkmark { background-color: gray; }
Alexander
You must specify the labels in the Email and Print tab under the Email active tab.
Alexander
Thanks for the detailed feedback. I’ll check out the endpoint and see if it might work better than the EnsureUser endpoint in this case.
I’ll try to get a new version out next week.
Alexander
Do you see the same in the developer console as you originally did?
The fix I attempted does a “ensureUser” call for each of the users when the form loads – can you look at the developer console (network tab) and try to identify the calls and see what they return?
Email me some screenshots of what you can find so I can try to figure out why it doesn’t work in your setup.
Alexander
No need to send anything – I found the problem and will fix it in the next release (probably sometime next week).
Alexander
Are both Field1 and Field2 multichoice? Can you email me a screenshot of the rule you use to set the values?
Alexander
This was fixed in v4.4.5.45 back in July 2022: https://spjsblog.com/dffs/dffs-change-log/#DFFS_v44545
Upgrade and the problem should be fixed.
Alexander
Which version of the classic DFFS are you running? (hover over the “Enhanced with DFFS” link and click “License and version information.
Alexander
I think I have missed your other question regarding email current tab – where can I find it?
Alexander
I see now what was wrong – when addressing by ID you must prefix the selector with “#” and not “.”.
I didn’t notice it in your code snippet, but if you change it from this:
.sbs_OuterTable_4 { outline: 2px red dashed; outline-offset: 2px; }
to this it should work:
#sbs_OuterTable_4 { outline: 2px red dashed; outline-offset: 2px; }
Alexander
I see now what was wrong – when addressing by ID you must prefix the selector with “#” and not “.”.
I didn’t notice it in your code snippet, but if you change it from this:
.sbs_OuterTable_4 { outline: 2px red dashed; outline-offset: 2px; }
to this it should work:
#sbs_OuterTable_4 { outline: 2px red dashed; outline-offset: 2px; }
Alexander
Try setting the border on the table and not the tr using this ID (from your screenshot it looks like you have the SBS index set to 4):
.sbs_OuterTable_4 { outline: 2px red dashed; outline-offset: 2px; }
Alexander
Can you show me a screenshot of the field after you right click and select “Inspect” (I need to see the HTML code in the developer tools).
Also, show me a mockup of what you are looking to make the border around so I know you are looking at the correct solution (this is specifically to highlight side-by-side fields).
Alexander
November 5, 2024 at 19:49 in reply to: Feature Request: Different ways of showing date in email #38217Hi
I’ll add support for specifying the dateformat when selecting from the “Add dynamic content” menu in the next version, but as a workaround you can add this to your Custom JS (replace DueDate with the actual internal name of your field):var myCustomDate = ""; // Must use var an not let to make it globally available function dffs_PreSaveAction() { const date = getFieldValue("DueDate", "dateObject"); const formatter = new Intl.DateTimeFormat('en-US', { day: '2-digit', month: '2-digit', year: 'numeric' }); myCustomDate = formatter.format(date); }
Now add this variable to your email body like this:
myCustomDate: [[variable:myCustomDate]]
Alexander
You must add the CSS code to the Custom CSS tab. Where you put it now, only custom styling of the read-only fields are supposed to go (and then without the ID selector).
Alexander
-
AuthorPosts