Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

using JS for inputfield inTV iterator.

Hi ,

Below is the code of IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START:

WHEN 'DATE' .

      IF p_edit_mode IS NOT INITIAL.


        DATA: dateon TYPE REF TO cl_htmlb_inputfield .
        dateon  = cl_htmlb_inputfield=>factory( id = p_cell_id id_postfix = '_sixth'
        type = 'date'
        showhelp = 'X').

        p_replacement_bee = dateon.
        dateon->value = m_row_ref->date.

      ENDIF.

How can i add JS validation for checking that the date is Equall to or Less than current date..for the inputfield above..

Any clue will be of great help...

Thanks,

Anubhav.

Edited by: Anubhav Jain on Oct 1, 2008 12:31 PM

Not what you were looking for? View more on this topic or Ask a question