Viewing 3 reply threads
  • Author
    Posts
    • #10641
      invisiblevision
      Participant

      I am trying to add the required field to term meta but unfortunately the fields are still saving i have tried both front end required attribute vs server side

      piklist(‘field’, array(
      ‘type’ => ‘text’
      ,’field’ => ‘text_required_2′
      ,’label’ => ‘Enter some required text’
      ,’required’ => true
      ,’attributes’ => array(
      ‘required’ => ‘required’ // HTML 5 validation
      )
      ));

    • #10644
      Steve
      Keymaster

      @invisiblevision– Welcome to the Piklist community!

      Is this on the NEW Term screen, or when you are editing an existing term?

    • #10645
      invisiblevision
      Participant

      Its in the New term screen , Edit is fine

    • #10648
      Steve
      Keymaster

      There are definitely a few issues on the New term screen, which will be addressed in Piklist v2.0. You may have to allow the user to fill in those fields on the Edit screen for now.

Viewing 3 reply threads
  • The topic ‘Piklist Required Attribute not working in terms’ is closed to new replies.