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.

SafeCracker and forcing URL Title

July 31, 2012 12:31pm

Subscribe [2]
  • #1 / Jul 31, 2012 12:31pm

    elwed

    151 posts

    I’d like to set up an SAEF/Safecracker form where the URL title is forced to a longish random string and the logic happens server-side rather than on the client. It would be straightforward to make url_title a hidden field and use Javascript or PHP to populate it, but since I’d want to do server-side validation in any case, it makes more sense to not involve the client to begin with.

    If anybody has done something like this before, are the safecracker_submit_entry_start and safecracker_submit_entry_end hooks the best way to proceed?

    In case of interest, I’ll post methods/code/whatever once I have it working to my satisfaction.

  • #2 / Sep 17, 2013 10:02pm

    Joe C

    3 posts

    Hey Elwed, did you ever get this working? I’m keen to do the same now 😊

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

ExpressionEngine News!

#eecms, #events, #releases