Okay, I am not trying to overload the forum with these posts, I’m almost done with my app! I’m running into an error where I have copied the hikr tutorial "EditHikePage’ .ux and .js and slightly tweaked them to fit my needs. My new variables though won’t export for the .ux to see. Or alteast that’s what I am assuming is happening. I’ll post some pictures below.!
I am calling the correct javascript page for the ux
Here I call out the variables out of the main array ‘pinfo’, I have context called on for additional information (where pinfo is stored) and my export module looks correct
Here is my context page and again it is exactly how the hikr tutorial has it. Just names of variables changed.
Here is my backend page, again exactly how hikr had it and the ‘vehicles’ variables works perfectly throughout the app, only the pinfos does not
and these are the errors im getting, only when I try to Cancel or Save though. There are no errors when i enter the page but the text does not show up in the boxes as it should either.
I understand I dont need to run the For loop for the updatePinfo, but I was just going quickly, and I’m assuming it’ll be okay for the moment.
It will sometime give me the error that {cancelpinfo} and {savepinfo} are undefined, which makes me think the problem is on the EditPinfoPage.js and not the backend or context.
Any help would be greatly appreciated, thank you!!