Date & Time/Update Dropdowns

Ok… so I setup a calender (Founding Date) with a Date and Time field. The thing is the calender only allows to select a date and no time. And when things are submitted they are like this:

Thu Jun 01 2017 00:00:00 GMT+0200 (W. Europe Daylight Time)

I would like to though instead for it to be displayed simply as June 01 2017 w/out the time and all of the other information.

Second:
I have dropdown on my submission from where the options are as follows:

  • N/A

  • 1-10

  • 10-50

  • 50-100

  • 100-300


  • But on the dynamic page it only displays as Item 3 and it even sometimes shows as X Large and am wondering why there are different things being displayed.

Third:
I made the form where people can update their submissions and put the dropdowns there as well and made sure it is set to “Connect dropdown list items” on and “Connect to Dataset” but it is displaying the following:

  • Small

  • Medium

  • Large

  • X Large
    Although, these fields should be the same as the one mentioned above. I have a different dropdown that does this as well called “Status”. It works fine with the dynamic page but in this one when it is set to edit it all of the sudden has the options:

  • 18-24

  • 25-34

  • 35-40

  • 41-50
    But it should actually say:

  • Active

  • Inactive

  • Shutdown

  • Regrowth

Fixed issue #2 yet the others are still a concern :frowning:
Fixed it by clicking on the “Edit Multiple Items At Once” and where info is displayed like this:

N/A, Item 1
1-10, Item 2
.....and so on....

and changed the things on the second category to the same on the first category.

I still need help :frowning:

Hi Jason,

You can convert the date to the short date string using some code. In the next example, you can see code that gets the value of the date from the dataset and set it to a text field. Connect the rest of the editor elements to the dataset the regular way.

$w.onReady(function () {
	$w("#myDataset").onReady(()=>{
		let itemObj = $w("#myDataset").getCurrentItem();
		$w("#text1").text = itemObj._createdDate.toDateString();
	});
});

You can read more in our API reference site.

Could you please share your site and refer us to the exact page so we could look into the third issue.

Shay