Forums

Wizard custom elements

Castor 14 Sep, 2009
Hello together

i apreciate this componente very very strongly (big thx to the developer) and now i have also a question about it.
I want to create a wizard custom element and i have the HTML code ready:

<div class="reihe">
  <span class="label">NAME</span>
  <span class="feld"><input type="text" class="defbreite" size="15" /></span>
</div>


[list=1]
  • So as you can see, the label is called name but i want my client to be able to change the word "name"
    So i have to set a parameter I think. There must be a default parameter with this option because in the simple wizard, there is this possibility too.
    So plz tell me how i can set this parameter to let my client change the variable after his wishes.

  • I also need the option for my client to set things like "requiered, Date, Numbers only" just the default settings in the usual wizard. where and which variables do i have to ad?
  • [/list:o]

    Thx you very much 😀

    /edit: it will also do, if I could change the default code.
    If i just had the code, which displays for example the default "TextBox" with all its options, i think i could worked it out to create all I want my own
    GreyHead 14 Sep, 2009
    Hi Castor,

    Use the Insert New Parameter button at the bottom of the Wizard Custom Element Tab. Put the Parameter name e.g. NAME in the box, then click the button to create the parameter.

    Set a defualt value if you want one, then put the Parameter in curly brackets {NAME} into your Element HTML.

    Save the Element.

    Bob
    Castor 14 Sep, 2009
    hey thx.

    Well but i think such a parameter does already exist doen't it?

    by the way: that did not work at all. I used NAME as said, set the parameter and added
    <div class="reihe">
      <span class="label">{NAME}</span>
      <span class="feld"><input type="text" class="defbreite" size="15" /></span>
    </div>

    But there is no way to edit the label, it is always called like the title of the Cutom element.
    As well the inpput field is not shown )=

    And how do I activate the option to set things like "requiered" "date" "numbers" and so on?
    GreyHead 14 Sep, 2009
    Hi Castor,

    It works for me I just tested it.

    No idea about adding the validation options though.

    Bob
    Castor 15 Sep, 2009
    Coud you post a screenshot of the custom elements overview?

    I have the parameters as well (in the simple wizard) but nothing changes in the text...
    GreyHead 15 Sep, 2009
    Hi Castor,

    Here are shots from the Custom Element, Wizard Edit and the Form itself (it just has the one element).

    Bob

    PS I trimmed some empty space out of the images to make them a bit more compact.

    [attachment=2]15-09-2009 14-23-36.png[/attachment]
    [attachment=1]15-09-2009 14-26-36.png[/attachment]
    [attachment=0]15-09-2009 14-27-57.png[/attachment]
    Castor 15 Sep, 2009
    ye thx mate.I thought changes would aready be set in the edit mouds 😶
    This topic is locked and no more replies can be posted.