Forum Replies Created
-
AuthorPosts
-
I meant what is the custom string command I use for a Date field for the redirect to work? I’ve tried several things and nothing seems to work. I keep getting “Invalid date/time value. A date/time field contains invalid data. Please check the value and try again.”
data.End_x0020_of_x0020_Week_x0020_Da = ?
I only need the date portion
Thanks Alexander! that solved the same issue for me. What about field of type SPFieldDateTime? my field internal name is End_x0020_of_x0020_Week_x0020_Da
Actually both the Edit button and the Close button don’t work with the v4.357 FRONTEND included with the Oct 6th package. They just refresh the page. I’m working with SharePoint 2013 online.
Correction, after you hit the edit button and it refreshes and then hit the close button and it refreshes again, if you hit the close button again it finally goes back to the list. So the problem only exists if you initially click the Edit button.
- This reply was modified 9 years, 1 month ago by dinfante.
so is the 4.357 FRONTEND included with the Oct 6th package? If so it didn’t fix the problem when I installed it.
that’s what is weird about it. I saw the bug report and downloaded and installed the latest October 6th package and it still had the edit button bug. Then I noticed the backend version when I go into the DFFS setup was still 4.355?
Dynamic Forms for SharePoint DFFS Backend v4.355|CSS version: 4.10 / 4.10|spjs-utility version: 1.252
Thank 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)
Hey 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
If 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:
September 24, 2015 at 19:18 in reply to: Display a calculated column display value in edit form? #8561Nevermind, I figured it out.
Here is the solution I came up with to trim the trailing zeros. I realize this is kind of killing a mosquito with a cannon so if anyone else has a shorter elegant solution you are welcome to school me.
I put this code in the custom JS section along with the other custom jscode mention above by Alexander:
$.fn.digits = function(){
return this.each(function(){
$(this).text(parseFloat($(this).text()).toFixed(2));
})
}$(“span.numbers2″).digits();
Then in the “Heading or HTML field” I wrapped the (in Alexander’s case above)
<span class=”fullusername” />
like this
<span class=”numbers2″><span class=”fullusername” /></span>
you can remove the .toFixed(2) if you just want an integer with no decimal places.
Hope this helps!
September 22, 2015 at 22:52 in reply to: Display a calculated column display value in edit form? #8537The calculations are displaying like below:
Number of Nights: 2.00000000000000
Hotel Total Cost: 358.000000000000How do I trim all the zero’s off or format the numbers properly?
Thanks
David
I got it working with a modified rule. Thanks so much! This function helps with a major business requirement.
Ah, 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”What was the answer? I’m not able to find the other person’s question. I need to add some calculated read only fields to the edit form and DFFS won’t let me.
Hey 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.
-
AuthorPosts