Coder Social home page Coder Social logo

Deprecated: str_replace(): about mform HOT 3 CLOSED

olien avatar olien commented on September 17, 2024
Deprecated: str_replace():

from mform.

Comments (3)

olien avatar olien commented on September 17, 2024

->addHtml und ->addDescription sind wohl schuld...

from mform.

olien avatar olien commented on September 17, 2024

Leiser war es doch nicht das. Mit dem mForm BEispielcode bekomme ich die Meldungen auch:

<?php

// init mform
$mform = MForm::factory()
    // add fieldset area
    ->addFieldsetArea('Input Text elements', MForm::factory() // init new mform
    // add some text fields
    ->addTextField(1.0, ['label' => 'Input Text'])
        ->addTextField(1.2, ['label' => 'With options and Full width', 'full' => true])
        ->setOptions([1=>'option1',2=>'option2'])
    )
    // add second fieldset area
    ->addFieldsetArea('Textarea elements', MForm::factory() // init new mform
    ->addTextAreaField(1.3, ['label' => 'Textarea'])
        ->addTextAreaField(1.4, ['label' => 'Full width'])
        ->setFull() // or ->addTextAreaField(1.2,['full' => true])
    )
    // add third fieldset area
    ->addFieldsetArea('Readonly text elements', MForm::factory() // use mform factory
    // add some readonly text fields
    ->addTextReadOnlyField("2.0", 'string readonly', ['label' => 'Readonly Input Text'])
        ->addTextAreaReadOnlyField(2.1, 'string readonly', ['label' => 'Readonly Textarea'])
    );
// parse form
echo $mform->show();

=

image

from mform.

skerbis avatar skerbis commented on September 17, 2024

https://github.com/FriendsOfREDAXO/mform/releases/tag/7.2.5

from mform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.