Updates a user event.
Requires a form token
Requires a session token - the user must be logged in and must be the creator of the event being updated
Supports redirectUrl param of fm:Form component
All optional params can be set to required.
<fm:Form action="/action/v2/updateevent" method="post" enctype="multipart/form-data" >
<fm:Form_TextInput name="name" />
<fm:Form_TextArea name="description"></fm:Form_TextArea>
<fm:Form_TextInput name="url" />
<fm:Form_TextInput name="note" />
<fm:Form_TextInput name="address" />
<fm:Form_TextInput name="city" />
<fm:Form_State name="state" />
<fm:Form_TextInput name="country" />
<fm:PostalCode name="postalcode"/>
<fm:Form_FileInput name="logo" />
<input type="hidden" name="logoChannel" value="12" />
<fm:Form_TextInput name="other[refereeCount]" />
<fm:Form_TextInput name="other[referee][name]" />
<fm:Form_TextInput name="other[referee][position]" />
<button type="submit">Update event</button>
</fm:Form>
Name | Required | Description |
---|---|---|
name | Required | Name of the event. String up to to 255 chars |
description | Description of the event. Text, limited to 65000 chars | |
startdate | Start date of the event. Use fm:Form_Date to get the correct input options displayed | |
enddate | End date of the event. Use fm:Form_Date to get the correct input options displayed | |
logo | Logo for the created event. Must be an image file. Refer to the list of supported image file types | |
logoChannel | Channel ID to add the logo to if a logo is present. | |
url | Website for the event. Must be a valid url, up to 80 chars. | |
host | Host of the event. String up to 80 chars | |
note | Additional note. Text, limited to 65000 chars | |
address | Address of the event. String up to 80 chars | |
city | City of the event. String up to 80 chars | |
state | State/Province of the event. State/Province code - 2 chars | |
country | Country of the event. Country code - 2 chars | |
postalcode | Postal code/zip code of the event. String up to 10 chars | |
geo_latitude | Latitude related to the event. | |
geo_longitude | Longitude related to the event. | |
parentEvent | ID of the event that is the event's parent.. | |
other | Extra data that doesn't fit within the more specific fields. This should be structured as in the example. |