custom field

mdma 07 Sep, 2015
iam trying to integrate a bs3 jqueryui like datepicker.
I have seen external datepickers were implemented with a text-field.

I want to integrate with a custom-code field in designer.
I need to know what code is needed that a field generated through custom field can:

pass data to session and so on,
gets recogniced in the debugger as array(?)

is it possible?how?
mdma 07 Sep, 2015
<div class="input-group date">
  <input type="text" class="form-control"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>

this should be the code in the end...
would it be possible to construct code with a standard text field like this?

I have seen the tutorials with jqueryUI but the problem there is:
the calender-icon doesnt open the calender..
mdma 07 Sep, 2015
another question also regarding manipulating txt-field or if possible use custom code field...

for a spinner
<div class="input-group spinner">
    <input type="text" class="form-control" >
    <div class="input-group-btn-vertical">
      <button class="btn btn-default" type="button"><i class="fa fa-caret-up"></i></button>
      <button class="btn btn-default" type="button"><i class="fa fa-caret-down"></i></button>
mdma 08 Sep, 2015
the first code for calender input i got working in a custom field element by
coping/editing/messing with code around from standard text field and come closer and closer to desired code:

<div class="input-group date">
<input name="mycustomfield" id="mycustomfield" class=" form-control"  type="text" /> 
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>

this is bootstrap 3 input-group markup now, so also the icon is now linked to open calender.
This topic is locked and no more replies can be posted.