Go to the list “SPJS-DynamicFormsForSharePoint” (in all site contents), locate your form by looking at the Title field and open it for edit.
In the first line in the “blob” field you must remove the value in the “pass” key like this:
"pass":""
Alexander
Hi Alex,
we tried to analyze the issue to find out the root cause and we came to know that the CAML query in new form is not passing the _vLookup ID.
Please find the below query in new form
<View Scope='RecursiveAll'><Query><Where><Eq><FieldRef Name='_vLookupParentID' /><Value Type='Text'>~_vLookupID~</Value></Eq></Where><OrderBy><FieldRef Name='ID' /></OrderBy></Query></View>
we tried to get the _vLookupID in the parent list in new form using Getfieldvalue.It is returning the correct ID
In edit form
<View Scope=’RecursiveAll’><Query><Where><Eq><FieldRef Name=’_vLookupParentID’ /><Value Type=’Text’>8:1470121931290</Value></Eq></Where><OrderBy><FieldRef Name=’ID’ /></OrderBy></Query></View>
Thanks,
Navya
Hello,
Are there any tricks to setting up a vlookup where the child list is a calendar?
I can set it up and get the calendar new form to open but I can’t sseem to get any values prefilled.
Also, in that same calendar list settings, I have added DFFS Loader by SPJSBlog.com but do not see “enhance with DFFS” at the bottom of any forms.
Any thoughts?
Thanks!
I don’t have any solutions for adding multiple “Choose file” buttons in the add attachment form for a list item, but I wonder if you may have misunderstood how it works.
A SharePoint list item can have multiple attachments, but you must add one attachment – hit OK to save it to the form, and then hit the attachment button again to add another one. You don’t have to save the form between each attachment you add.
Alexander
Thanks for the clarification. Could you try adding “?acDebug=1” to the URL like this:
../Lists/DFFS_TestList/NewForm.aspx?acDebug=1
You will now see both the hidden input field and the autocomplete input. Try filling the bottom one and see if the top one gets populated.
Please note that this requires the developer console to be open (hit F12 > Console).
PS: I have tested it here on office 365 and it appears to work as expected here.
Best regards,
Alexander
Sorry for any confusion.
The AC is on a single line text field. Since the solution was not committing the value entered into the form, I went to the list view and entered the value manually in the datasheet view. After I had done this, I opened up a new edit form and it displayed that value as a selection. Again, the AC field is looking at itself in the same list. I hope this clarifies what I am seeing.
There is no value in the Disp form or in the list view after saving. There is also no console error on editForm load, updating the AC field, or on save.
The AC field is able to pull in values from the correct list if I add them through datasheet view. Seems like the commit function isn’t working.
Hi,
Could you check to see if the value is present in DispForm when you have added it in NewForm?
Also, please check the developer console (hit F12 > Console) when opening the list item in EditForm to see if there are any errors there.
Alexander
AC field is looking at itself and validating correctly in New and Edit form, but on save, the value is not saved the list. When reopening the edit form, the field is blank. Can you replicate this behavior? Not seeing this behavior with previous iterations.
spjs.ac.textField({
"applyTo":"Location",
"helpText":"Enter Location...",
"listGuid":"TFMM",
"listBaseUrl":"/URL",
"showField":"Location",
"enforceUniqueValues":true, // New in v1.33
"rowLimit":15,
"listOptionsOnFocus":true,
"reValidateOnLoad":false,
"allowAddNew":true, // New in v1.4
"isLookupInSelf":true, // New in v1.4
"setFields":[
{
"fromFIN":"",
"toFIN":"",
"parseFunction":"",
"skipIfEmpty":false
},
{
"fromFIN":"",
"toFIN":"",
"parseFunction":"",
"skipIfEmpty":false
}
]
});
Just wanting to share a little win …
I wanted to set the currently logged in user as the default choice in a people picker field. Ideally I was hoping for it to be a column setting like other fields, but it doesn’t look like it is available anymore in SharePoint 2013. Googled up a few alternatives, but all looked clunky. Enter DFFS:
– New Rule: SetRequestorDefault
– Validate on: Form load
– If this trigger: Requestor is equal to <blank>
– Set field value: Requestor {currentUser}
Unfortunately this doesn’t trigger on bulk list edits, but making requestor a required field keeps it workable.
Hi,
The reason for the error message is that the query to find the correct LCID (language) of the list you are targeting fails to return the LCID.
The “spjsRmArgs” object is set up for SharePoint 2007, and I guess this is why it fails. Try removing the “listName” from this object.
var spjsRmArgs = {
"resourceField":"resource",
"dateFrom":"StartDate",
"dateTo":"EndDate",
"timeFormat":24,
"bookableTimeRangeActive":false
};
spjs.rm.init(spjsRmArgs);
Alexander
I have fixed this plugin so that loading a record in EditForm with a custom value that is not a valid option in the list – with the setting “addYouOwnValue” set to true – will show the field as if you have hit the “Write your own value”.
You find the file here
Let me know how this works out.
Alexander
► DFFS backend 4.360 | CSS version 4.1 | utility version 1.257
I have an edit form, that I been finalizing for a project. Started the form about 5 months ago and have been tinkering with it throughout. Twice in the last week, it suddenly thinks it is a dispform and so the interface disallows the typical editform settings. Example: I need to turn off the ‘set field’ under a rule. So I go to the editform, click the DFFS setup button. It identifies onscreen as the editform configuration. Yet features such as set field, editable fields, spjs-lookup are “disabled” because it seems to think it’s a dispform configuration I’m editing. I’ve recreated the configuration once already and it happened again 🙁
Attached is the screenshot of the description above. Other edit forms| same-site / different-lists work as expected.
The field doesn’t look like it is a droplist either, so I suspect that something in the setup is broken?
NewForm and EditForm are different forms and can have completely different setups. Are both using DFFS or both using JQuery / JS-Utility? Usually SPJS-Lookup will give pretty good error logging (on top of the form) once it has access to JQuery.
There shouldn’t be anything custom. After I got this error on our main list, I created a brand new list to use as a control. I added a column to be the resource, and then I added a start date “date and time” column and an end date “date and time” column. After that I added the solution to the default form. I didn’t do anything else and I got the same error as on the main list. If there is anything I can provide to help figure this out please let me know. I’d really like to find a way to get this to work. Thank you.
-
This reply was modified 8 years, 10 months ago by
Brent Miller.