dinfante

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • in reply to: Redirect from NewForm to EditForm in DFFS #9027
    dinfante
    Participant

    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 = ?

    in reply to: Redirect from NewForm to EditForm in DFFS #8923
    dinfante
    Participant

    I only need the date portion

    in reply to: Redirect from NewForm to EditForm in DFFS #8921
    dinfante
    Participant

    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

    in reply to: Edit button Bug on Display form #8673
    dinfante
    Participant

    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 8 years, 6 months ago by dinfante.
    in reply to: Edit button Bug on Display form #8671
    dinfante
    Participant

    so is the 4.357 FRONTEND included with the Oct 6th package? If so it didn’t fix the problem when I installed it.

    in reply to: Edit button Bug on Display form #8668
    dinfante
    Participant

    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

    in reply to: Hide save item button #8640
    dinfante
    Participant

    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)

    in reply to: Hide save item button #8638
    dinfante
    Participant

    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

    in reply to: Hide save item button #8591
    dinfante
    Participant

    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:
    in reply to: Display a calculated column display value in edit form? #8561
    dinfante
    Participant

    Nevermind, 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!

    in reply to: Display a calculated column display value in edit form? #8537
    dinfante
    Participant

    The calculations are displaying like below:

    Number of Nights:  2.00000000000000
    Hotel Total Cost:   358.000000000000

    How do I trim all the zero’s off or format the numbers properly?

    Thanks

    David

    in reply to: Hide save item button #8529
    dinfante
    Participant

    I got it working with a modified rule. Thanks so much! This function helps with a major business requirement.

    in reply to: Hide save item button #8520
    dinfante
    Participant

    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”

    in reply to: How to add calculated field to Dynamic Forms #8508
    dinfante
    Participant

    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.

    in reply to: Hide save item button #8507
    dinfante
    Participant

    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.

Viewing 15 posts - 1 through 15 (of 18 total)