set default value for form action attribute

  •  09-26-2008, 7:56 PM

    set default value for form action attribute

    when we click on insert form icon.. an insert form dialog box appears.. i need to set a default value in form action text box, but no luck..
     
    can you please tell me, how can i set a default value for form action..
     
    i found a file at this path;
     
    CuteSoft_Client\CuteEditor\Dialogs\Tag\tag_form.ascx
     
    and i saw this line;
     
    <input type="text" id="inp_action" style="width:200px" />
     
    and i tried to update it like this;
     
    <input type="text" id="inp_action" style="width:200px" value="postform.asp" />
     
    but no luck.. it always blank by default.. even at the end of the page after this line <script type="text/javascript" src="Load.ashx?type=dialogscript&file=Dialog_Tag_Form.js"></script>
     
    i tried this;
     
    <script language="javascript">
    document.getElementById('inp_action').value = "postform.asp";
    </script>
     
    but stills no luck.. form action text box is always blank by default.. and its urgent, i need to fill a default value there. and i need to make that text box read only for the user, and i can make it read only but this;
     
    <input type="text" id="inp_action" style="width:200px" readonly />
     
    but value attribute not working..
     
    can you please help me.. can you please tell me how can i set a default value there in form action text box..
     
    your help will be highly appreciatable..
     
    waiting for your prompt response...
     
    thanks and regards,
     
    Nadir Ali Shah
View Complete Thread