Skip to content

Conversation

@nicar
Copy link

@nicar nicar commented Sep 19, 2015

Can save and retrieve related classes for parent class.
Raw version with commented out debug code, not fully tested!

Added "joins" property.

  • Naming convention for forms: class name prepended to fields name, like
    <input name="Alias.field">
  • Property input must be JSON notification
    Example:
&joins=`[
 {"CommentImages" : {"type" : "file" , "req" : "false"} },
 {"CommentThumbnail" : {"type" : "file"} },
 ["SingleClass"]
]`

required not yet implemented

Also checks for files and empty file fields; can be used with formit2file hook (file data has to be passed e.g. by $hook->setValue($sfile,$jsonData))

@Jako Jako self-assigned this Jul 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants