ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Submitting a "Date Field" via SAEF with "Fixed" localization?

May 22, 2012 10:26am

Subscribe [2]
  • #1 / May 22, 2012 10:26am

    Michael C. (KKCJ)

    100 posts

    EE 1.7.1

    How can I submit via SAEF a custom field of type “Date Field” while specifying the “formatting” to be “Fixed” as opposed to “Localized”? The field’s ID is 209.

    In the database, toggling between Localized and Fixed via the backend results in either a blank value for “field_ft_209” (Localized) or a value or “UP2” (Fixed). Therefore, I’ve tried both of the following, neither of which appear to have the desired effect.:

    <input type="text" name="field_id_209" value="2012-05-22 4:22 PM">
    <input type="hidden" name="field_ft_209" value="UP2">
    <input type="text" name="field_id_209" value="2012-05-22 4:22 PM">
    <input type="hidden" name="field_ft_209" value="fixed">
  • #2 / May 22, 2012 10:32am

    Michael C. (KKCJ)

    100 posts

    Nevermind, figured it out by looking at the form fields in the site backend. What I needed was this:

    <input type="hidden" name="field_offset_209" value="n" />
  • #3 / May 23, 2012 11:44am

    Shane Eckert

    7174 posts

    Hello Michael C. (KKCJ),

    Glad to hear it! Nice work.

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases