How to submit session and field parameters in the same URL?

  • Profile Image
    prolutive
    Asked on December 18, 2013 at 07:43 PM

    How to submit session and field parameters in the same URL?

    ?yourChoix=23 OK

    ?session=myname OK

    BUT:

    ?yourChoix=23?session=myname Doesn't work

    Thanks



    This is a re-post of a comment on Prepopulating Fields to Your Jotform via URL Parameters

  • Profile Image
    Elton
    Answered on December 18, 2013 at 09:29 PM

    Hi,

    You have to separate each parameter with ampersand symbol &

    Example, your sample parameter should supposed to be this.

    ?yourChoix=23&session=myname&morefield=more

    Use a question mark (?) on the first part once, then use ampersand (&) to the rest of the URL parameter.

    Thanks

  • Profile Image
    prolutive
    Answered on December 19, 2013 at 08:31 AM

    Hi,

    Of course! I'm stupid. Thank you.

    How can I populate a text field? There's no 'name' attribut.

    Thanks.

  • Profile Image
    prolutive
    Answered on December 19, 2013 at 12:19 PM

    Yes thank you very much but my question was about a text field or header field without input. I just want prepopulate with a read only information which depends on different parameters set outside the form.

  • Profile Image
    jedcadorna
    Answered on December 19, 2013 at 03:26 PM

    Hello,

    I think the example of my colleague is without any input value. The name "q3_email3" will be the one to populate values in the field so if the "q3_email3" field is blank then no values will populate like the one stated in this guide http://www.jotform.com/help/71-Prepopulating-fields-to-your-JotForm-via-URL-parameters values will depend on the name of the field. I'm sorry that is how I understand your question you can clarify a bit what you mean by "Text field without input".

  • Profile Image
    prolutive
    Answered on December 20, 2013 at 01:53 AM

    Hello,

    My question was about non-editable field and I found an answer here: http://www.jotform.com/answers/112700-Hello-How-can-I-pre-populate-the-form-with-a-non-editable-field-as-in-t

    It's not the answer I hoped (I have to integrate the source code) but it's OK. Thanks to the very professional support team.

  • Profile Image
    jedcadorna
    Answered on December 20, 2013 at 05:44 AM

    @prolutive,

    Oh I see what you mean now. Sorry if I wasn't able to get your question at first. Yes the guide made by my colleague is the perfect example. You have to embed your form source into your site then just add the value disabled="disabled" into field that you don't want to be editable. 

    Example:

    Editable: http://form.jotform.co/form/33532394667866?fullName3[first]=Steve&fullName3[last]=Smith

    Non Editable: http://jedsamples.tk/jotform/noneditable%20value.htm?fullName3[first]=Steve&fullName3[last]=Smith

     

    I guess what you were looking for was something that doesn't need to have a form source modification, right?

  • Profile Image
    prolutive
    Answered on December 20, 2013 at 06:00 AM

    Yes that's right. But I've already made a good application with jotForm. It's a good product.