Jump to content

Custom field default values and AJAX form


weblantis

Recommended Posts

Hi,

 

I noticed that passing a custom field value via url is not working when using the Ajax form. This means that the custom field on the admin side appears blank. So url (for AJAX form) like:

 

http://www.xxxxxxxx.com/whmcs/order/?pid=4&skip=1&customfield[4]=30403

 

does not work, however a non AJAX form eg:

 

http://www.xxxxxxxx.co.uk/whmcs/cart.php?a=add&pid=3&customfield[3]=29917

 

does work and passes the value "29917" into the whmcs db and be viewed in the admin section.

 

Can anyone please let me know if there is a workaround for this. If not then I will have to use the non AJAX order forms.

 

Regards,

 

Sher

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated