Uncaught TypeError: emy.param is not a function

16 views
Skip to first unread message

Rahul Prasad

unread,
Mar 21, 2016, 12:13:41 PM3/21/16
to iPhoneWebDev
Hi Remi,

Hope you are doing well.

I am using your framework to develop an app, it's simple to use and awesome!

Almost done with the project but I am stuck with this error while trying to submit a form:

"Uncaught TypeError: emy.param is not a function"

Could you help me understand this issue please.

Below is my code:

<section id="form-post" data-title="Your Information">
<form id="post_form" method="post" action="/mycustomthankyoupage/a/10?">
<fieldset>
<div class="row">
<input type="text" name="first_name" id="first_name" placeholder="Type your text">
<label for="plaintext">First Name</label>
</div>
<div class="row">
<input type="text" name="last_name" id="last_name" placeholder="Type your text">
<label for="plaintext">Last Name</label>
</div>
<div class="row">
<select name="state" id="state" size="1">
<option value="">Select</option>
<option value="AA">AA</option>
<option value="AB">AB</option>
<option value="AC">AC</option>
</select>
<label for="list1">Options</label>
</div>
<div class="row">
<input type="email" name="email" id="email" placeholder="Type your email">
<label for="email">Email</label>
</div>
<div class="row">
<input type="tel" name="phone" id="phone" placeholder="Phone #">
<label for="phone">Phone #</label>
</div>
<input type="hidden" name="hidden1" id="hidden1" value=""/>
<input type="hidden" name="hidden2" id="hidden2" value=""/>
<input type="hidden" name="hidden3" id="hidden3" value=""/>
<input type="hidden" name="hidden4" id="hidden4" value=""/>

</fieldset>
<button type="submit" name="btnSubmit" id="btnSubmit" class="mainButton greenButton">Submit</button>
</form>
</section>

I also tried implementing your example in my web app as a test but gets same error:
http://www.emy-library.org/demos/getting-started/forms.html#_form-post

Thanks for your time and hope to hear from you soon.

Kind Regards,

Rahul.

Remi Grumeau

unread,
Mar 28, 2016, 10:45:22 AM3/28/16
to iPhoneWebDev
Hi Rahul,

Don't really see where the problem could come from, except you are trying to submit hacky datas.
See this link, i copy paste your code, and create a PHP to list its result.

Please try to download the latest version of Emy, and see if it still give you this error

Remi
screen-01.png
screen-02.png
Reply all
Reply to author
Forward
0 new messages